summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-10-15 11:21:12 +0800
committerIngo Molnar <mingo@elte.hu>2009-10-15 11:35:22 +0200
commitb0f1a59a98d7ac2102e7e4f22904c26d564a5628 (patch)
tree63ee120d7fa1eda7e6c11db3530021634d3ba59b /kernel/trace/trace.h
parentfce29d15b59245597f7f320db4a9f2be0f5fb512 (diff)
downloadblackbird-obmc-linux-b0f1a59a98d7ac2102e7e4f22904c26d564a5628.tar.gz
blackbird-obmc-linux-b0f1a59a98d7ac2102e7e4f22904c26d564a5628.zip
tracing/filters: Use a different op for glob match
"==" will always do a full match, and "~" will do a glob match. In the future, we may add "=~" for regex match. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Peter Zijlstra <peterz@infradead.org> Acked-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <4AD69528.3050309@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 628614532d16..ffe53ddbe67a 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -702,7 +702,7 @@ typedef int (*filter_pred_fn_t) (struct filter_pred *pred, void *event,
typedef int (*regex_match_func)(char *str, struct regex *r, int len);
enum regex_type {
- MATCH_FULL,
+ MATCH_FULL = 0,
MATCH_FRONT_ONLY,
MATCH_MIDDLE_ONLY,
MATCH_END_ONLY,
OpenPOWER on IntegriCloud