]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/bpf: Remove kmalloc tracing from local storage create bench
authorAmery Hung <ameryhung@gmail.com>
Sat, 11 Apr 2026 01:54:16 +0000 (18:54 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 11 Apr 2026 04:22:31 +0000 (21:22 -0700)
commit78ee02a966ad76966be516ed3d56860d7a58fe7e
treeb6daaee7ddf2a2ca927e6cf2143571797d5ccd55
parent497fa510ee46af2bf04991cd64cb919266d0ca5a
selftests/bpf: Remove kmalloc tracing from local storage create bench

Remove the raw_tp/kmalloc BPF program and its associated reporting from
the local storage create benchmark. The kmalloc count per create is not
a useful metric as different code paths use different allocators (e.g.
kmalloc_nolock vs kzalloc), introducing noise that makes the number
hard to interpret.

Keep total_creates in the summary output as it is useful for normalizing
perf statistics collected alongside the benchmark.

Signed-off-by: Amery Hung <ameryhung@gmail.com>
Link: https://lore.kernel.org/r/20260411015419.114016-2-ameryhung@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/benchs/bench_local_storage_create.c
tools/testing/selftests/bpf/progs/bench_local_storage_create.c