diff options
author | Tim Moore <timoore@redhat.com> | 2009-12-21 17:53:06 +0100 |
---|---|---|
committer | Tim Moore <timoore@redhat.com> | 2009-12-21 17:53:06 +0100 |
commit | 2e6135317db22a3c8d58776f10d75414b9685225 (patch) | |
tree | 5ee08c296fddf8f681b065ac9b3b1383866da915 /runtime/sym.h | |
parent | 75dfa5cb9b3584995f9e634a6e769b8a1576bc0d (diff) | |
parent | ea549ffc2915aa58861637472b12196222673fa2 (diff) | |
download | systemtap-steved-2e6135317db22a3c8d58776f10d75414b9685225.tar.gz systemtap-steved-2e6135317db22a3c8d58776f10d75414b9685225.tar.xz systemtap-steved-2e6135317db22a3c8d58776f10d75414b9685225.zip |
Merge remote branch 'origin/master'
Diffstat (limited to 'runtime/sym.h')
-rw-r--r-- | runtime/sym.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/sym.h b/runtime/sym.h index 9f2bdfd0..ce6ab736 100644 --- a/runtime/sym.h +++ b/runtime/sym.h @@ -17,7 +17,7 @@ struct _stp_symbol { struct _stp_section { const char *name; - unsigned long addr; /* XXX: belongs in per-address-space tables */ + unsigned long static_addr; /* XXX non-null if everywhere the same. */ unsigned long size; /* length of the address space module covers. */ struct _stp_symbol *symbols; /* ordered by address */ unsigned num_symbols; @@ -70,7 +70,10 @@ static unsigned long _stp_kretprobe_trampoline; _stp_sym_init () should track vma maps. */ static char _stp_need_vma_tracker; -static unsigned long _stp_module_relocate (const char *module, const char *section, unsigned long offset); +static unsigned long _stp_module_relocate (const char *module, + const char *section, + unsigned long offset, + struct task_struct *tsk); static struct _stp_module *_stp_get_unwind_info (unsigned long addr); #endif /* _STP_SYM_H_ */ |