diff options
| author | Namhyung Kim <[email protected]> | 2022-10-18 02:02:16 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-10-27 19:37:25 +0000 |
| commit | f976bc6b6bfc9b14eeaf9a8859191c8f85c253dc (patch) | |
| tree | d31c7bce986a7920a96fd94052c9bc3492c2ca24 /tools/perf/scripts/python/compaction-times.py | |
| parent | perf stat: Allocate evsel->stats->aggr properly (diff) | |
| download | kernel-f976bc6b6bfc9b14eeaf9a8859191c8f85c253dc.tar.gz kernel-f976bc6b6bfc9b14eeaf9a8859191c8f85c253dc.zip | |
perf stat: Aggregate events using evsel->stats->aggr
Add a logic to aggregate counter values to the new evsel->stats->aggr.
This is not used yet so shadow stats are not updated. But later patch
will convert the existing code to use it.
With that, we don't need to handle AGGR_GLOBAL specially anymore. It
can use the same logic with counts, prev_counts and aggr_counts.
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Athira Jajeev <[email protected]>
Cc: Ian Rogers <[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
