mbox series

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

Message ID 20230412210423.900851-1-song@kernel.org (mailing list archive)
Headers show
Series Fix a few BPF selftests | expand

Message

Song Liu April 12, 2023, 9:04 p.m. UTC
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

Comments

patchwork-bot+netdevbpf@kernel.org April 13, 2023, 12:40 p.m. UTC | #1
Hello:

This series was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:

On Wed, 12 Apr 2023 14:04:20 -0700 you wrote:
> 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
> 
> [...]

Here is the summary with links:
  - [bpf-next,1/3] selftests/bpf: Use read_perf_max_sample_freq() in perf_event_stackmap
    https://git.kernel.org/bpf/bpf-next/c/de6d014a09bf
  - [bpf-next,2/3] selftests/bpf: Fix leaked bpf_link in get_stackid_cannot_attach
    https://git.kernel.org/bpf/bpf-next/c/c1e07a80cf23
  - [bpf-next,3/3] selftests/bpf: Keep the loop in bpf_testmod_loop_test
    https://git.kernel.org/bpf/bpf-next/c/2995f9a8d427

You are awesome, thank you!