Re: [PATCH] perf stat: Fix aggregation of cgroup events

From: Namhyung Kim

Date: Thu Nov 05 2026 - 18:22:10 EST


On Thu, 01 Oct 2026 22:48:32 -0700, Namhyung Kim wrote:
> I got a report that perf stat with BPF and cgroup is broken with
> aggregation like per-socket or node. On my machine, running the
> following command shows the problem.
>
> $ sudo perf stat -a --bpf-counters --per-socket -e cycles \
> --for-each-cgroup /user.slice,/system.slice sleep 1
>
> [...]

Applied to perf-tools-next, thanks!

Best regards
Namhyung