Update ftrace symbol lookup
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 24 May 2011 03:02:47 +0000 (23:02 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 24 May 2011 03:02:47 +0000 (23:02 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
wrapper/ftrace.h

index 4401469251a27205e0bdfc8bff2292818019c48f..da7c39478b5dbc951129e85b9cc25f4c47abda07 100644 (file)
@@ -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 {
This page took 0.027279 seconds and 4 git commands to generate.