summaryrefslogtreecommitdiffstats
path: root/runtime/sym.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-09-10 17:21:51 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-09-10 17:21:51 -0400
commitdd13da3b90d71b94c8dc09942fee97f8513df348 (patch)
treed490b811932be34445f3d02331b14d4f1c5b909a /runtime/sym.h
parentf76427a2bf80e4451e5e8d0c26b06aca65e4e2c4 (diff)
parentda4c496a55b73e2a768d3b1c6cee44b43144bcc8 (diff)
downloadsystemtap-steved-dd13da3b90d71b94c8dc09942fee97f8513df348.tar.gz
systemtap-steved-dd13da3b90d71b94c8dc09942fee97f8513df348.tar.xz
systemtap-steved-dd13da3b90d71b94c8dc09942fee97f8513df348.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
* 'master' of ssh://sources.redhat.com/git/systemtap: backtrace fix for i386 with neither frame pointers nor dwarf unwinding Add network security warning for the client/server. Check for dwarf_getelf (elfutils 0.126+). hangeLog entries for latest commits. Move stap-find-* script to client sub rpm. Rename _stp_module module_base output to dwarf_module_base and document. Remove unnecessary dependencies. Correct man page specs in systemtap.spec Create systemtap-client and systemtap-server sub rpms
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;