[PATCH v5 00/12] perf tools: fix perf stat with large socket IDs

From: James Clark
Date: Tue Nov 17 2020 - 09:49:24 EST


Changes since v4:

* Test all fields in topology test, even if they should be -1
* Remove extra refcount from cpu_map__build_map()
* Reduce the changes in sort_aggr_thread()
* Move addition of cpu_aggr_map__put() and cpu_aggr_map__delete()
into the commit where they are used so that they don't have
to be changed to static in a separate commit

James Clark (12):
perf tools: Improve topology test
perf tools: Use allocator for perf_cpu_map
perf tools: Add new struct for cpu aggregation
perf tools: Replace aggregation ID with a struct
perf tools: add new map type for aggregation
perf tools: drop in cpu_aggr_map struct
perf tools: Start using cpu_aggr_id in map
perf tools: Add separate node member
perf tools: Add separate socket member
perf tools: Add separate die member
perf tools: Add separate core member
perf tools: Add separate thread member

tools/perf/builtin-stat.c | 128 ++++++++++++------------
tools/perf/tests/topology.c | 62 ++++++++++--
tools/perf/util/cpumap.c | 171 ++++++++++++++++++++++-----------
tools/perf/util/cpumap.h | 55 ++++++-----
tools/perf/util/stat-display.c | 102 ++++++++++++--------
tools/perf/util/stat.c | 2 +-
tools/perf/util/stat.h | 9 +-
7 files changed, 335 insertions(+), 194 deletions(-)

--
2.28.0