Li Zefan b2af211f28 tracing/filters: Fix MATCH_MIDDLE_ONLY filter matching
The @str might not be NULL-terminated if it's of type
DYN_STRING or STATIC_STRING, so we should use strnstr()
instead of strstr().

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <4B4E8753.2000102@cn.fujitsu.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2010-01-14 22:38:11 -05:00
..
2009-12-22 14:10:37 -08:00
2009-12-15 08:53:10 -08:00
2009-12-22 12:27:34 -05:00
2009-12-06 21:10:56 +01:00
2009-12-14 23:55:34 +01:00
2009-12-22 14:17:56 -08:00
2009-12-28 10:25:31 +01:00
2009-12-16 10:23:43 -08:00
2009-12-17 15:45:32 -08:00
2009-12-09 10:03:07 +01:00
2009-12-20 19:05:02 +01:00
2009-12-22 14:10:37 -08:00