Re: [PATCH] perf cpumap: Fix die and cluster IDs
From: Namhyung Kim
Date: Tue Jan 28 2025 - 14:15:42 EST
On Wed, 18 Dec 2024 11:55:51 +0000, James Clark wrote:
> Now that filename__read_int() returns -errno instead of -1 these
> statements need to be updated otherwise error values will be used as
> die IDs.
>
> This appears as a -2 die ID when the platform doesn't export one:
>
> $ perf stat --per-core -a -- true
>
> [...]
Applied to perf-tools, thanks!
Best regards,
Namhyung