]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/bpf: Choose another percpu variable in bpf for btf_dump test
authorAmery Hung <ameryhung@gmail.com>
Thu, 5 Feb 2026 22:29:14 +0000 (14:29 -0800)
committerMartin KaFai Lau <martin.lau@kernel.org>
Fri, 6 Feb 2026 22:48:05 +0000 (14:48 -0800)
commitcdce7b0848f6f2be4c6d7dbf243244981d315f6f
tree1b5687d9c42af639da78af910f75bba7e76d59ae
parente02cf06b85f8ae337c86db1bad5a0fd54c7bd301
selftests/bpf: Choose another percpu variable in bpf for btf_dump test

bpf_cgrp_storage_busy has been removed. Use bpf_bprintf_nest_level
instead. This percpu variable is also in the bpf subsystem so that
if it is removed in the future, BPF-CI will catch this type of CI-
breaking change.

Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Amery Hung <ameryhung@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20260205222916.1788211-17-ameryhung@gmail.com
tools/testing/selftests/bpf/prog_tests/btf_dump.c