From 9fe47d1849406a219578176753b763998dc7fad1 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 28 Jul 2011 15:16:17 -0400 Subject: [PATCH] Update ftrace wrapper Signed-off-by: Mathieu Desnoyers --- wrapper/ftrace.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1