From: Mathieu Desnoyers Date: Tue, 24 May 2011 03:02:47 +0000 (-0400) Subject: Update ftrace symbol lookup X-Git-Tag: v2.0-pre1~104 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1c726b25f42c14020fbafdaa5cbb2c3eb1644b53;p=lttng-modules.git Update ftrace symbol lookup Signed-off-by: Mathieu Desnoyers --- diff --git a/wrapper/ftrace.h b/wrapper/ftrace.h index 44014692..da7c3947 100644 --- a/wrapper/ftrace.h +++ b/wrapper/ftrace.h @@ -24,7 +24,7 @@ int wrapper_register_ftrace_function_probe(char *glob, int (*register_ftrace_function_probe_sym)(char *glob, struct ftrace_probe_ops *ops, void *data); - register_ftrace_function_probe_sym = (void *) kallsyms_lookup_name("register_ftrace_function_probe_sym"); + register_ftrace_function_probe_sym = (void *) kallsyms_lookup_name("register_ftrace_function_probe"); if (register_ftrace_function_probe_sym) { return register_ftrace_function_probe_sym(glob, ops, data); } else { @@ -40,7 +40,7 @@ void wrapper_unregister_ftrace_function_probe(char *glob, void (*unregister_ftrace_function_probe_sym)(char *glob, struct ftrace_probe_ops *ops, void *data); - unregister_ftrace_function_probe_sym = (void *) kallsyms_lookup_name("unregister_ftrace_function_probe_sym"); + unregister_ftrace_function_probe_sym = (void *) kallsyms_lookup_name("unregister_ftrace_function_probe"); if (unregister_ftrace_function_probe_sym) { unregister_ftrace_function_probe_sym(glob, ops, data); } else {