tracing/filters: Fix MATCH_END_ONLY filter matching
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 14 Jan 2010 02:53:41 +0000 (10:53 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Jan 2010 03:38:07 +0000 (22:38 -0500)
commita3291c14ecf0a995e30d993b7f2cae031de98727
tree46b0ed65d437fdffba57866af1ce51d0d15a7673
parent285caad415f459f336247932b4db95a571357a02
tracing/filters: Fix MATCH_END_ONLY filter matching

For '*foo' pattern, we should allow any string ending with
'foo', but event filtering incorrectly disallows strings
like bar_foo_foo:

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <4B4E8735.6070604@cn.fujitsu.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_events_filter.c