Re: [PATCH] perf stat: Do not open cgroups for BPF counters
From: Namhyung Kim
Date: Thu Jul 16 2026 - 12:59:20 EST
On Wed, 08 Jul 2026 13:04:07 -0700, Namhyung Kim wrote:
> The --bpf-counters and --for-each-cgroup options use a set of shared
> events among the given cgroups rather than adding events for each cgroup
> respectively. It only uses cgroup-ID to compare and calculate the
> result. So no need to open and keep FDs for cgroups in BPF mode.
>
>
Applied to perf-tools-next, thanks!
Best regards,
Namhyung