lkml.org 
[lkml]   [2020]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v6 00/12] perf tools: fix perf stat with large socket IDs
Date
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

\
 
 \ /
  Last update: 2020-11-26 15:14    [W:0.102 / U:1.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site