X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=wrapper%2Fftrace.h;h=9c18cc5648424667f5a907a1170e2714685ce651;hb=d5869321cc5bda1a078d9665e2ac280427b89f25;hp=da7c39478b5dbc951129e85b9cc25f4c47abda07;hpb=1c726b25f42c14020fbafdaa5cbb2c3eb1644b53;p=lttng-modules.git diff --git a/wrapper/ftrace.h b/wrapper/ftrace.h index da7c3947..9c18cc56 100644 --- a/wrapper/ftrace.h +++ b/wrapper/ftrace.h @@ -53,17 +53,16 @@ void wrapper_unregister_ftrace_function_probe(char *glob, static inline int wrapper_register_ftrace_function_probe(char *glob, - struct ftrace_probe_ops *ops, void *data); - + 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); + struct ftrace_probe_ops *ops, void *data) { - return unregister_ftrace_function_probe(); + return unregister_ftrace_function_probe(glob, ops, data); } #endif