aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/perf_buffer.c
diff options
context:
space:
mode:
authorYucong Sun <sunyucong@gmail.com>2021-10-06 11:56:11 -0700
committerAndrii Nakryiko <andrii@kernel.org>2021-10-08 15:10:43 -0700
commitd719de0d2f3cbdb5890a147b90a51c5eaaef103e (patch)
tree363c270ccc427c5772f6802454a647321dd913a3 /tools/testing/selftests/bpf/prog_tests/perf_buffer.c
parente87c3434f81ae566693cfdc22370dc938b2989dd (diff)
selftests/bpf: Fix race condition in enable_stats
In parallel execution mode, this test now need to use atomic operation to avoid race condition. Signed-off-by: Yucong Sun <sunyucong@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20211006185619.364369-7-fallentree@fb.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/perf_buffer.c')
0 files changed, 0 insertions, 0 deletions