Fix a few BPF selftests. Please see each patch for details of these fixes. Song Liu (3): selftests/bpf: Use read_perf_max_sample_freq() in perf_event_stackmap selftests/bpf: Fix leaked bpf_link in get_stackid_cannot_attach selftests/bpf: Keep the loop in bpf_testmod_loop_test .../selftests/bpf/bpf_testmod/bpf_testmod.c | 6 +++++- .../prog_tests/get_stackid_cannot_attach.c | 1 + .../bpf/prog_tests/perf_event_stackmap.c | 3 ++- .../bpf/prog_tests/stacktrace_build_id_nmi.c | 15 -------------- tools/testing/selftests/bpf/testing_helpers.c | 20 +++++++++++++++++++ tools/testing/selftests/bpf/testing_helpers.h | 2 ++ 6 files changed, 30 insertions(+), 17 deletions(-) -- 2.34.1