summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-01-28 04:37:09 +0100
committerSteven Rostedt <rostedt@goodmis.org>2011-02-08 02:56:18 +0100
commit58d9a597c4275d830a819625e7d437cd6fb23fa5 (patch)
tree823a4eea8d421314c1b2e259bc5fb376734f7847 /kernel/trace/trace.h
parenttracing/filter: Have no filter return a match (diff)
downloadlinux-58d9a597c4275d830a819625e7d437cd6fb23fa5.tar.xz
linux-58d9a597c4275d830a819625e7d437cd6fb23fa5.zip
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>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 9021f8c0c0c3..1597bc0749c1 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -677,8 +677,7 @@ struct event_subsystem {
struct filter_pred;
struct regex;
-typedef int (*filter_pred_fn_t) (struct filter_pred *pred, void *event,
- int val1, int val2);
+typedef int (*filter_pred_fn_t) (struct filter_pred *pred, void *event);
typedef int (*regex_match_func)(char *str, struct regex *r, int len);