summaryrefslogtreecommitdiffstats
path: root/runtime/sym.c
diff options
context:
space:
mode:
authorhunt <hunt>2005-08-31 18:24:26 +0000
committerhunt <hunt>2005-08-31 18:24:26 +0000
commit5a90d39d40a4360db4715408190aee558dbc3813 (patch)
tree36181c4b49e9ea92bf37e2e5a1a6b2db669b47b0 /runtime/sym.c
parent9a062ac8db299aeea20f189dafa253875889abb8 (diff)
downloadsystemtap-steved-5a90d39d40a4360db4715408190aee558dbc3813.tar.gz
systemtap-steved-5a90d39d40a4360db4715408190aee558dbc3813.tar.xz
systemtap-steved-5a90d39d40a4360db4715408190aee558dbc3813.zip
2005-08-31 Martin Hunt <hunt@redhat.com>
* sym.c (_stp_kallsyms_lookup): Moved to runtime.h. * stack.c (_stp_kta): Moved to runtime.h. * runtime.h (init_module): Initialize _stp_kallsyms_lookup and _stp_kta. * probes.c (_stp_lookup_name): Replaced by kallsyms_lookup_name().
Diffstat (limited to 'runtime/sym.c')
-rw-r--r--runtime/sym.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/runtime/sym.c b/runtime/sym.c
index a1c04a65..107f6b33 100644
--- a/runtime/sym.c
+++ b/runtime/sym.c
@@ -9,17 +9,6 @@
* @{
*/
-/** Lookup symbol.
- * This simply calls the kernel function kallsyms_lookup().
- * That function is not exported, so this workaround is required.
- * See the kernel source, kernel/kallsyms.c for more information.
- */
-static const char * (*_stp_kallsyms_lookup)(unsigned long addr,
- unsigned long *symbolsize,
- unsigned long *offset,
- char **modname, char *namebuf)=(void *)KALLSYMS_LOOKUP;
-
-
/** Write addresses symbolically into a String
* @param str String
* @param address The address to lookup.