aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace_event.h
diff options
context:
space:
mode:
authorTom Zanussi <tzanussi@gmail.com>2009-04-28 04:04:47 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-29 08:05:54 -0400
commit30e673b230f9d556eb81ef68a7b1a08c8b3b142c (patch)
tree219bb8cfce0b36f05e3c21ab10a29f8f56d47d7e /include/linux/ftrace_event.h
parent0f9a623dd6c9b5b4dd00c232f29525bfc7a8ecf2 (diff)
tracing/filters: move preds into event_filter object
Create a new event_filter object, and move the pred-related members out of the call and subsystem objects and into the filter object - the details of the filter implementation don't need to be exposed in the call and subsystem in any case, and it will also help make the new parser implementation a little cleaner. [ Impact: refactor trace-filter code to prepare for new features ] Signed-off-by: Tom Zanussi <tzanussi@gmail.com> Acked-by: Steven Rostedt <rostedt@goodmis.org> Cc: fweisbec@gmail.com Cc: Li Zefan <lizf@cn.fujitsu.com> LKML-Reference: <1240905887.6416.119.camel@tropicana> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/ftrace_event.h')
-rw-r--r--include/linux/ftrace_event.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ftrace_event.h b/include/linux/ftrace_event.h
index 78a9ba24cbf6..46a27f2695a6 100644
--- a/include/linux/ftrace_event.h
+++ b/include/linux/ftrace_event.h
@@ -101,8 +101,8 @@ struct ftrace_event_call {
101 int (*show_format)(struct trace_seq *s); 101 int (*show_format)(struct trace_seq *s);
102 int (*define_fields)(void); 102 int (*define_fields)(void);
103 struct list_head fields; 103 struct list_head fields;
104 int n_preds; 104 int filter_active;
105 struct filter_pred **preds; 105 void *filter;
106 void *mod; 106 void *mod;
107 107
108#ifdef CONFIG_EVENT_PROFILE 108#ifdef CONFIG_EVENT_PROFILE