]> git.karo-electronics.de Git - mv-sheeva.git/commit
tracing/filter: Move OR and AND logic out of fn() method
authorSteven Rostedt <srostedt@redhat.com>
Fri, 28 Jan 2011 03:37:09 +0000 (22:37 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 8 Feb 2011 01:56:18 +0000 (20:56 -0500)
commit58d9a597c4275d830a819625e7d437cd6fb23fa5
tree823a4eea8d421314c1b2e259bc5fb376734f7847
parent6d54057d76e25c91165cda0e6e007f1811faa2be
tracing/filter: Move OR and AND logic out of fn() method

The ops OR and AND act different from the other ops, as they
are the only ones to take other ops as their arguements.
These ops als change the logic of the filter_match_preds.

By removing the OR and AND fn's we can also remove the val1 and val2
that is passed to all other fn's and are unused.

Cc: Tom Zanussi <tzanussi@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.h
kernel/trace/trace_events_filter.c