summaryrefslogtreecommitdiffstats
path: root/runtime/sym.h
diff options
context:
space:
mode:
authorhunt <hunt>2007-03-21 15:09:57 +0000
committerhunt <hunt>2007-03-21 15:09:57 +0000
commitc45f6fbff2e7e32b1b9cd4c6e726fa202a4542cf (patch)
tree9a242cf5d0dbf2b9bd3013ac529c22de0c93faf1 /runtime/sym.h
parentee8d9a0d5b784bc02d07ff587d71b1f9d4557635 (diff)
downloadsystemtap-steved-c45f6fbff2e7e32b1b9cd4c6e726fa202a4542cf.tar.gz
systemtap-steved-c45f6fbff2e7e32b1b9cd4c6e726fa202a4542cf.tar.xz
systemtap-steved-c45f6fbff2e7e32b1b9cd4c6e726fa202a4542cf.zip
2007-03-21 Martin Hunt <hunt@redhat.com>
* sym.h: Declare _stp_module_relocate. * sym.c (_stp_module_relocate): Add comments, reformat, add a way for "last" cached values to be cleared when modules are removed. (_stp_symbol_print): Simplify and remove static buffer. (_stp_symbol_snprint): Ditto. * symbols.c (_stp_del_module): Add a call to _stp_module_relocate to clear its cache.
Diffstat (limited to 'runtime/sym.h')
-rw-r--r--runtime/sym.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/sym.h b/runtime/sym.h
index 82a0cfcd..d164e23f 100644
--- a/runtime/sym.h
+++ b/runtime/sym.h
@@ -61,4 +61,5 @@ struct _stp_module *_stp_modules_by_addr[STP_MAX_MODULES];
/* the number of modules in the arrays */
int _stp_num_modules = 0;
+unsigned long _stp_module_relocate (const char *module, const char *section, unsigned long offset);
#endif /* _STAP_SYMBOLS_H_ */