diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2018-11-22 16:55:45 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-12-17 20:54:26 +0300 |
commit | 2aac9f9d5b85da1cc77c51d78aa41012244f7518 (patch) | |
tree | e14b84850e648b037fa339684afc10740c54d02e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 0631ca3a6e6edd23a2ca7cab707d1abf291a097d (diff) | |
download | linux-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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions