]> git.ipfire.org Git - thirdparty/linux.git/commit
perf stat bperf cgroup: Increase MAX_EVENTS from 32 to 1024
authorIan Rogers <irogers@google.com>
Thu, 16 Oct 2025 15:07:18 +0000 (08:07 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Sun, 19 Oct 2025 03:35:40 +0000 (12:35 +0900)
commitb8308511f6e090db769e35b958e2fb9714e5456f
treeb1805ee102ca83ce03a4bf3660607f4893d6e803
parent98f3e85c475e6a118432671c210167c6176d6fcc
perf stat bperf cgroup: Increase MAX_EVENTS from 32 to 1024

The MAX_EVENTS value ensured a counted loop presumably to satisfy the
BPF verifier. It is possible to go past 32 events when gathering
uncore events. Increase the amount to 1024 as that should provide some
amount of headroom.

Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/bpf_skel/bperf_cgroup.bpf.c