aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2022-10-18 02:02:19 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-10-27 19:37:25 +0000
commitae7e6492ee54e18cc3d6ed4bb5ca857726a7e9c3 (patch)
treeff07b2b090bb6c7dc49389e90ef682d933d2e890 /tools/perf/scripts/python/compaction-times.py
parentperf stat: Aggregate per-thread stats using evsel->stats->aggr (diff)
downloadkernel-ae7e6492ee54e18cc3d6ed4bb5ca857726a7e9c3.tar.gz
kernel-ae7e6492ee54e18cc3d6ed4bb5ca857726a7e9c3.zip
perf stat: Allocate aggr counts for recorded data
In the process_stat_config_event() it sets the aggr_mode that means the earlier evlist__alloc_stats() cannot allocate the aggr counts due to the missing aggr_mode. Do it after setting the aggr_map using evlist__alloc_aggr_stats(). 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/compaction-times.py')
0 files changed, 0 insertions, 0 deletions