From: Mathieu Desnoyers Date: Thu, 28 Jul 2011 19:16:17 +0000 (-0400) Subject: Update ftrace wrapper X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=9fe47d1849406a219578176753b763998dc7fad1;p=deliverable%2Flttng-modules.git Update ftrace wrapper Signed-off-by: Mathieu Desnoyers --- diff --git a/wrapper/ftrace.h b/wrapper/ftrace.h index 9cf50d25..9c18cc56 100644 --- a/wrapper/ftrace.h +++ b/wrapper/ftrace.h @@ -55,14 +55,14 @@ static inline int wrapper_register_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops, void *data) { - return unregister_ftrace_function_probe(); + return register_ftrace_function_probe(glob, ops, data); } static inline void wrapper_unregister_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops, void *data) { - return unregister_ftrace_function_probe(); + return unregister_ftrace_function_probe(glob, ops, data); } #endif