From 5a90d39d40a4360db4715408190aee558dbc3813 Mon Sep 17 00:00:00 2001 From: hunt Date: Wed, 31 Aug 2005 18:24:26 +0000 Subject: 2005-08-31 Martin Hunt * 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(). --- runtime/stack.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'runtime/stack.c') diff --git a/runtime/stack.c b/runtime/stack.c index 1f7073f5..ba0c9935 100644 --- a/runtime/stack.c +++ b/runtime/stack.c @@ -20,8 +20,6 @@ #include "sym.c" #include "regs.h" -static int (*_stp_kta)(unsigned long addr)=(void *)KTA; - #if defined (__x86_64__) static void __stp_stack_sprint (String str, unsigned long *stack, int verbose, int levels) -- cgit