diff options
author | 2021-04-14 10:08:16 -0300 | |
---|---|---|
committer | 2021-04-15 16:33:57 -0300 | |
commit | 9865ea8ab31f2e56be59125099ee251ce573f293 (patch) | |
tree | a1d8ff2020f73b077815e136a180c889f720e5c6 /tools/perf/scripts/python/check-perf-trace.py | |
parent | perf annotate: Fix sample events lost in stdio mode (diff) | |
download | linux-dev-9865ea8ab31f2e56be59125099ee251ce573f293.tar.xz linux-dev-9865ea8ab31f2e56be59125099ee251ce573f293.zip |
perf evlist: Add a method to return the list of evsels as a string
Add a 'scnprintf' method to obtain the list of evsels in a evlist as a
string, excluding the "dummy" event used for things like receiving
metadata events (PERF_RECORD_FORK, MMAP, etc) when synthesizing
preexisting threads.
Will be used to improve the error message for workload failure in 'perf
record.
Acked-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lore.kernel.org/lkml/20210414131628.2064862-2-acme@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions