Changes since v5: * Fix test for cpu_map__get_die() by shifting id before testing. * Fix test for cpu_map__get_socket() by not using cpu_map__id_to_socket() which is only valid in CPU aggregation mode.
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 | 64 ++++++++++-- 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, 337 insertions(+), 194 deletions(-) -- 2.28.0