summaryrefslogtreecommitdiff
path: root/tools/perf/tests/attr.py
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2018-11-22 16:55:45 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-12-17 20:54:26 +0300
commit2aac9f9d5b85da1cc77c51d78aa41012244f7518 (patch)
treee14b84850e648b037fa339684afc10740c54d02e /tools/perf/tests/attr.py
parent0631ca3a6e6edd23a2ca7cab707d1abf291a097d (diff)
downloadlinux-2aac9f9d5b85da1cc77c51d78aa41012244f7518.tar.xz
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 <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/20181122135545.16295-1-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/attr.py')
0 files changed, 0 insertions, 0 deletions