summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMasoud Aghasi <maghasi@disroot.org>2026-10-08 13:07:34 +0100
committerAlexei Starovoitov <ast@kernel.org>2026-10-18 22:52:05 +0000
commit22392799e251d8ddfbc766faf5c5fb0a5c69cf7d (patch)
treecb0efc8e7df91d083ac4105cb9425a44cf3111d0 /tools/perf/scripts/python
parent4a9b25fe8d138f2e0e65b337ecf829ce7ce42d09 (diff)
selftests/bpf: Add tests for percpu map flags combination
All possible combinations of (BPF_EXIST, BPF_NOEXIST) and (BPF_F_ALL_CPUS, BPF_F_CPU) flags are covered for all percpu map types. As BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE does not support BPF_NOEXIST and also in order to reduce the amount of code duplicates, I added its new test scenarios to the existing cpu_flag_percpu_cgroup_storage test. But for other percpu map types, I added new tests to be able to exercise all flag combinations and the edge cases such as percpu LRU unnecessary deletion issue. Signed-off-by: Masoud Aghasi <maghasi@disroot.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Leon Hwang <leon.hwang@linux.dev> Link: https://patch.msgid.link/20261008120734.1565972-4-maghasi@disroot.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions