diff options
author | Steven Rostedt | 2009-05-08 22:27:41 +0200 |
---|---|---|
committer | Steven Rostedt | 2009-05-08 22:30:26 +0200 |
commit | 4671c79408a3f8a5a6a45e39c4c164dada3a5678 (patch) | |
tree | c8cc041841afe9d2c1be14a2410c1f468b7477be /include/linux/ftrace_event.h | |
parent | tracing: initialize return value for __ftrace_set_clr_event (diff) | |
download | kernel-qcow2-linux-4671c79408a3f8a5a6a45e39c4c164dada3a5678.tar.gz kernel-qcow2-linux-4671c79408a3f8a5a6a45e39c4c164dada3a5678.tar.xz kernel-qcow2-linux-4671c79408a3f8a5a6a45e39c4c164dada3a5678.zip |
tracing: add trace_set_clr_event to export event enabling function
Other parts of the kernel may need to be able to enable or disable
specific events. Especially parts that create trace events.
[ Impact: allow enabling of trace events by those that create the event ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/ftrace_event.h')
-rw-r--r-- | include/linux/ftrace_event.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ftrace_event.h b/include/linux/ftrace_event.h index 662c1becf367..bae51ddfabd3 100644 --- a/include/linux/ftrace_event.h +++ b/include/linux/ftrace_event.h @@ -127,6 +127,8 @@ extern int trace_define_field(struct ftrace_event_call *call, char *type, #define is_signed_type(type) (((type)(-1)) < 0) +int trace_set_clr_event(const char *system, const char *event, int set); + /* * The double __builtin_constant_p is because gcc will give us an error * if we try to allocate the static variable to fmt if it is not a |