tracing/filters: move preds into event_filter object
authorTom Zanussi <tzanussi@gmail.com>
Tue, 28 Apr 2009 08:04:47 +0000 (03:04 -0500)
committerIngo Molnar <mingo@elte.hu>
Wed, 29 Apr 2009 12:05:54 +0000 (14:05 +0200)
commit30e673b230f9d556eb81ef68a7b1a08c8b3b142c
tree219bb8cfce0b36f05e3c21ab10a29f8f56d47d7e
parent0f9a623dd6c9b5b4dd00c232f29525bfc7a8ecf2
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>
include/linux/ftrace_event.h
kernel/trace/trace.h
kernel/trace/trace_events.c
kernel/trace/trace_events_filter.c