]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - include/linux/ftrace_event.h
tracing: trace_remove_event_call() should fail if call/file is in use
[linux-imx.git] / include / linux / ftrace_event.h
index 4372658c73ae5eddd3dd6570d4dfac8c5d8825c8..f98ab063e95ebc4b5136af2c74d7acae09722578 100644 (file)
@@ -332,7 +332,7 @@ extern int trace_define_field(struct ftrace_event_call *call, const char *type,
                              const char *name, int offset, int size,
                              int is_signed, int filter_type);
 extern int trace_add_event_call(struct ftrace_event_call *call);
-extern void trace_remove_event_call(struct ftrace_event_call *call);
+extern int trace_remove_event_call(struct ftrace_event_call *call);
 
 #define is_signed_type(type)   (((type)(-1)) < (type)1)