Re: [PATCH v5 1/3] perf stat: Read tool events last
From: Namhyung Kim
Date: Wed Nov 19 2025 - 13:12:49 EST
On Tue, Nov 18, 2025 at 01:13:24PM -0800, Ian Rogers wrote:
> When reading a metric like memory bandwidth on multiple sockets, the
> additional sockets will be on CPUS > 0. Because of the affinity
> reading, the counters are read on CPU 0 along with the time, then the
> later sockets are read. This can lead to the later sockets having a
> bandwidth larger than is possible for the period of time. To avoid
> this move the reading of tool events to occur after all other events
> are read.
>
> Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
Applied this one to perf-tools-next first, thanks!
Best regards,
Namhyung