diff options
author | Tom Zanussi <tzanussi@gmail.com> | 2009-04-28 03:04:47 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-29 14:05:54 +0200 |
commit | 30e673b230f9d556eb81ef68a7b1a08c8b3b142c (patch) | |
tree | 219bb8cfce0b36f05e3c21ab10a29f8f56d47d7e /kernel/trace/trace_events.c | |
parent | 0f9a623dd6c9b5b4dd00c232f29525bfc7a8ecf2 (diff) | |
download | blackbird-op-linux-30e673b230f9d556eb81ef68a7b1a08c8b3b142c.tar.gz blackbird-op-linux-30e673b230f9d556eb81ef68a7b1a08c8b3b142c.zip |
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 'kernel/trace/trace_events.c')
-rw-r--r-- | kernel/trace/trace_events.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c index be4d3a437c17..1cd1f37373dd 100644 --- a/kernel/trace/trace_events.c +++ b/kernel/trace/trace_events.c @@ -757,8 +757,7 @@ event_subsystem_dir(const char *name, struct dentry *d_events) list_add(&system->list, &event_subsystems); - system->preds = NULL; - system->n_preds = 0; + system->filter = NULL; entry = debugfs_create_file("filter", 0644, system->entry, system, &ftrace_subsystem_filter_fops); |