summaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-01-28 05:19:49 +0100
committerSteven Rostedt <rostedt@goodmis.org>2011-02-08 02:56:20 +0100
commit4a3d27e98a7f2682e96d6f863752e0424b00d691 (patch)
tree9bbd549ad3170123101b3b5828556ea9f864bdfd /kernel/trace
parenttracing/filter: Optimize filter by folding the tree (diff)
downloadlinux-4a3d27e98a7f2682e96d6f863752e0424b00d691.tar.xz
linux-4a3d27e98a7f2682e96d6f863752e0424b00d691.zip
tracing/filter: Move MAX_FILTER_PRED to local tracing directory
The MAX_FILTER_PRED is only needed by the kernel/trace/*.c files. Move it to kernel/trace/trace.h. Cc: Tom Zanussi <tzanussi@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/trace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index d754330934bb..fbff872f8db1 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -680,6 +680,8 @@ struct event_subsystem {
#define FILTER_PRED_IS_RIGHT (1 << 15)
#define FILTER_PRED_FOLD (1 << 15)
+#define MAX_FILTER_PRED 32
+
struct filter_pred;
struct regex;