summaryrefslogtreecommitdiff
path: root/tools/perf/util/stat.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2022-10-17 19:02:26 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-10-27 16:37:25 -0300
commitcec94d69636a023302d484ec036158b792001d3c (patch)
tree75b920fd8f5eec2dc221e4a0df15fdbff71b0580 /tools/perf/util/stat.c
parent91f85f98da7ab8c32105f42dd03884c01ec4498f (diff)
downloadlinux-cec94d69636a023302d484ec036158b792001d3c.tar.gz
linux-cec94d69636a023302d484ec036158b792001d3c.tar.bz2
linux-cec94d69636a023302d484ec036158b792001d3c.zip
perf stat: Display percore events properly
The recent change in the perf stat broke the percore event display. Note that the aggr counts are already processed so that the every sibling thread in the same core will get the per-core counter values. Check percore evsels and skip the sibling threads in the display. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Acked-by: Ian Rogers <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Athira Jajeev <atrajeev@linux.vnet.ibm.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: James Clark <james.clark@arm.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Leo Yan <leo.yan@linaro.org> Cc: Michael Petlan <mpetlan@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com> Link: https://lore.kernel.org/r/20221018020227.85905-20-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/stat.c')
0 files changed, 0 insertions, 0 deletions