summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2021-04-14 16:08:16 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-04-15 22:33:57 +0300
commit9865ea8ab31f2e56be59125099ee251ce573f293 (patch)
treea1d8ff2020f73b077815e136a180c889f720e5c6 /scripts
parent5676dba708bbb1fc94a9d3b2e9c114db9e4c6699 (diff)
downloadlinux-9865ea8ab31f2e56be59125099ee251ce573f293.tar.xz
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 'scripts')
0 files changed, 0 insertions, 0 deletions