aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorTom Zanussi <tzanussi@gmail.com>2009-03-31 01:49:16 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-13 18:00:51 -0400
commite45f2e2bd298e1ff687448e5fd15a3588b5807ec (patch)
tree353f132d53ecb3e991cf59c3d43a7664cb87b743 /kernel/trace/trace.h
parente1112b4d96859367a93468027c9635e2ac04eb3f (diff)
tracing/filters: add TRACE_EVENT_FORMAT_NOFILTER event macro
Frederic Weisbecker suggested that the trace_special event shouldn't be filterable; this patch adds a TRACE_EVENT_FORMAT_NOFILTER event macro that allows an event format to be exported without having a filter attached, and removes filtering from the trace_special event. Signed-off-by: Tom Zanussi <tzanussi@gmail.com> Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index e7737281953f..3cf856fa597b 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -915,6 +915,8 @@ do { \
915#undef TRACE_EVENT_FORMAT 915#undef TRACE_EVENT_FORMAT
916#define TRACE_EVENT_FORMAT(call, proto, args, fmt, tstruct, tpfmt) \ 916#define TRACE_EVENT_FORMAT(call, proto, args, fmt, tstruct, tpfmt) \
917 extern struct ftrace_event_call event_##call; 917 extern struct ftrace_event_call event_##call;
918#undef TRACE_EVENT_FORMAT_NOFILTER
919#define TRACE_EVENT_FORMAT_NOFILTER(call, proto, args, fmt, tstruct, tpfmt)
918#include "trace_event_types.h" 920#include "trace_event_types.h"
919 921
920#endif /* _LINUX_KERNEL_TRACE_H */ 922#endif /* _LINUX_KERNEL_TRACE_H */