[PATCH bpf-next 0/3] Fix a few BPF selftests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux