summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2010-01-14 03:54:27 +0100
committerSteven Rostedt <rostedt@goodmis.org>2010-01-15 04:38:12 +0100
commit16da27a8bc7a0d050686d1b2e9efb53fab9ed226 (patch)
treedef65eba395d9b2a2531f87dc1dd051be7845e92 /scripts
parenttracing/filters: Fix MATCH_MIDDLE_ONLY filter matching (diff)
downloadlinux-16da27a8bc7a0d050686d1b2e9efb53fab9ed226.tar.xz
linux-16da27a8bc7a0d050686d1b2e9efb53fab9ed226.zip
tracing/filters: Fix MATCH_FULL filter matching for PTR_STRING
MATCH_FULL matching for PTR_STRING is not working correctly: # echo 'func == vt' > events/bkl/lock_kernel/filter # echo 1 > events/bkl/lock_kernel/enable ... # cat trace Xorg-1484 [000] 1973.392586: lock_kernel: ... func=vt_ioctl() gpm-1402 [001] 1974.027740: lock_kernel: ... func=vt_ioctl() We should pass to regex.match(..., len) the length (including '\0') of the source string instead of the length of the pattern string. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> LKML-Reference: <4B4E8763.5070707@cn.fujitsu.com> Acked-by: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions