]> git.karo-electronics.de Git - linux-beck.git/commit
tracing/filters: support for filters of dynamic sized arrays
authorFrederic Weisbecker <fweisbec@gmail.com>
Sun, 3 May 2009 00:48:52 +0000 (02:48 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 7 May 2009 08:05:57 +0000 (10:05 +0200)
commite8808c1019b048a43686dbd25c188a035842c2e2
tree350eefee96e540ee855a6aefc64a17af25486234
parent8ae79a138e88aceeeb07077bff2883245fb7c218
tracing/filters: support for filters of dynamic sized arrays

Currently the filtering infrastructure supports well the
numeric types and fixed sized array types.

But the recently added __string() field uses a specific
indirect offset mechanism which requires a specific
predicate. Until now it wasn't supported.

This patch adds this support and implies very few changes,
only a new predicate is needed, the management of this specific
field can be done through the usual string helpers in the
filtering infrastructure.

[ Impact: support all kinds of strings in the tracing filters ]

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