aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2018-11-22 13:55:45 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-12-17 17:54:26 +0000
commit2aac9f9d5b85da1cc77c51d78aa41012244f7518 (patch)
treee14b84850e648b037fa339684afc10740c54d02e /tools/perf/util/scripting-engines/trace-event-perl.c
parenttools lib traceevent: Fix compile warnings in tools/lib/traceevent/event-parse.c (diff)
downloadkernel-2aac9f9d5b85da1cc77c51d78aa41012244f7518.tar.gz
kernel-2aac9f9d5b85da1cc77c51d78aa41012244f7518.zip
perf tests record: Allow for 'sleep' being 'coreutils'
If the 'sleep' command is provided by coreutils, then the "PERF_RECORD_* events & perf_sample fields" test will fail because the MMAP name is 'coreutils' not 'sleep', and there is an extra COMM event. Fix the test to detect that case. Signed-off-by: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions