tracing/filters: Add comment for match callbacks
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 14 Jan 2010 02:54:40 +0000 (10:54 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Jan 2010 03:38:14 +0000 (22:38 -0500)
commitd1303dd1d6b220cab375f24fa91a5640e54e169e
tree6b37f4fe7ef331e18c35919ae2fab0ce9da5e6b9
parent16da27a8bc7a0d050686d1b2e9efb53fab9ed226
tracing/filters: Add comment for match callbacks

We should be clear on 2 things:

- the length parameter of a match callback includes
  tailing '\0'.

- the string to be searched might not be NULL-terminated.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <4B4E8770.7000608@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_events_filter.c