tracing/filters: Unify the regex parsing helpers
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 24 Sep 2009 19:31:51 +0000 (21:31 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Thu, 24 Sep 2009 19:40:13 +0000 (21:40 +0200)
commit3f6fe06dbf67b46d36fedec502300e04dffeb67a
tree3879fe89257ded94190ad8f1835f0320eb19f610
parent1889d20922d14a97b2099fa4d47587217c0ba48b
tracing/filters: Unify the regex parsing helpers

The filter code has stolen the regex parsing function from ftrace to
get the regex support.
We have duplicated this code, so factorize it in the filter area and
make it generally available, as the filter code is the most suited to
host this feature.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Tom Zanussi <tzanussi@gmail.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
kernel/trace/ftrace.c
kernel/trace/trace.h
kernel/trace/trace_events_filter.c