]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
tracing: allow filter predicates to handle ksym symbols
authorSteven Rostedt <srostedt@redhat.com>
Sat, 12 Sep 2009 23:04:54 +0000 (19:04 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Sun, 13 Sep 2009 03:08:05 +0000 (23:08 -0400)
This patch increases the max string used by predicates to
handle KSYM_SYMBOL_LEN.

Also moves an include to look nicer.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/ftrace_event.h

index 0608b0ff263533c580fea9d1d21f637a2859cefb..bd099ba82ccc5700353eb5c04a7ab967fb8b0482 100644 (file)
@@ -1,8 +1,8 @@
 #ifndef _LINUX_FTRACE_EVENT_H
 #define _LINUX_FTRACE_EVENT_H
 
-#include <linux/trace_seq.h>
 #include <linux/ring_buffer.h>
+#include <linux/trace_seq.h>
 #include <linux/percpu.h>
 
 struct trace_array;
@@ -135,7 +135,7 @@ struct ftrace_event_call {
 };
 
 #define MAX_FILTER_PRED                32
-#define MAX_FILTER_STR_VAL     128
+#define MAX_FILTER_STR_VAL     256     /* Should handle KSYM_SYMBOL_LEN */
 
 extern void destroy_preds(struct ftrace_event_call *call);
 extern int filter_match_preds(struct ftrace_event_call *call, void *rec);