Implement detailed syscall event probe
[lttng-modules.git] / wrapper / ftrace.h
index da7c39478b5dbc951129e85b9cc25f4c47abda07..9c18cc5648424667f5a907a1170e2714685ce651 100644 (file)
@@ -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
 
This page took 0.023438 seconds and 4 git commands to generate.