summaryrefslogtreecommitdiffstats
path: root/runtime/sym.h
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2008-09-10 17:43:42 +0200
committerMark Wielaard <mjw@redhat.com>2008-09-10 17:43:42 +0200
commit675fb1ddeec8cd22e17ab989f8a813a375ae6226 (patch)
tree75909a476c3dbeef1ee440cf8f78f68c6ed31a01 /runtime/sym.h
parente0c72583f8fb7a61d052c58b8e9c6df0925bc234 (diff)
downloadsystemtap-steved-675fb1ddeec8cd22e17ab989f8a813a375ae6226.tar.gz
systemtap-steved-675fb1ddeec8cd22e17ab989f8a813a375ae6226.tar.xz
systemtap-steved-675fb1ddeec8cd22e17ab989f8a813a375ae6226.zip
Rename _stp_module module_base output to dwarf_module_base and document.
Diffstat (limited to 'runtime/sym.h')
-rw-r--r--runtime/sym.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/sym.h b/runtime/sym.h
index 564f4eb2..5888d2c7 100644
--- a/runtime/sym.h
+++ b/runtime/sym.h
@@ -33,8 +33,11 @@ struct _stp_module {
/* any notifier hooks that will tell us when a module */
/* is unloading. */
unsigned long module; /* XXX: why not struct module * ? */
-
- unsigned long module_base;
+
+ /* This is to undo .debug_frame relocation performed by elfutils, */
+ /* which is done during the translate phase when we encode the */
+ /* unwind data into the module. See adjustStartLoc() in unwind.c. */
+ unsigned long dwarf_module_base;
/* the stack unwind data for this module */
void *unwind_data;