summaryrefslogtreecommitdiffstats
path: root/runtime/sym.h
diff options
context:
space:
mode:
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);