summaryrefslogtreecommitdiffstats
path: root/runtime/sym.h
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-06-03 11:44:55 -0400
committerDave Brolley <brolley@redhat.com>2009-06-03 11:44:55 -0400
commit0c820e5cc8eca45e94da1bfbf6091a098f180371 (patch)
tree2548e0f11d8dd6cf81df3a7ea4a4ef2ab7c8233a /runtime/sym.h
parentea9d509619ae8dc1512576bccdff2288a2c256dc (diff)
parent129de9ef18cd142e31ed509a7704d4faf0879f4c (diff)
downloadsystemtap-steved-0c820e5cc8eca45e94da1bfbf6091a098f180371.tar.gz
systemtap-steved-0c820e5cc8eca45e94da1bfbf6091a098f180371.tar.xz
systemtap-steved-0c820e5cc8eca45e94da1bfbf6091a098f180371.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/sym.h')
-rw-r--r--runtime/sym.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/sym.h b/runtime/sym.h
index 7e28ebe6..ca69345f 100644
--- a/runtime/sym.h
+++ b/runtime/sym.h
@@ -61,10 +61,10 @@ struct _stp_module {
static struct _stp_module *_stp_modules [];
static unsigned _stp_num_modules;
-
-/* the number of modules in the arrays */
-
-static unsigned long _stp_kretprobe_trampoline = 0;
+/* Used in the unwinder to special case unwinding through kretprobes. */
+/* Initialized through translator (stap-symbols.h) relative to kernel */
+/* load address, fixup by transport symbols _stp_do_relocation */
+static unsigned long _stp_kretprobe_trampoline;
static unsigned long _stp_module_relocate (const char *module, const char *section, unsigned long offset);
static struct _stp_module *_stp_get_unwind_info (unsigned long addr);