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