aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2022-10-18 02:02:18 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-10-27 19:37:25 +0000
commit050059e1b1affc080ede9fe691768e2383eb6367 (patch)
tree0bf2b9c7fab722cbcb2756f0a39eba622a5c41c1 /tools/perf/scripts/python/intel-pt-events.py
parentperf stat: Factor out evsel__count_has_error() (diff)
downloadkernel-050059e1b1affc080ede9fe691768e2383eb6367.tar.gz
kernel-050059e1b1affc080ede9fe691768e2383eb6367.zip
perf stat: Aggregate per-thread stats using evsel->stats->aggr
Per-thread aggregation doesn't use the CPU numbers but the logic should be the same. Initialize cpu_aggr_map separately for AGGR_THREAD and use thread map idx to aggregate counter values. Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Athira Jajeev <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: James Clark <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Leo Yan <[email protected]> Cc: Michael Petlan <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Xing Zhengjun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions