mbox series

[v4,bpf-next,0/3] BPF test_progs tests improvement

Message ID 20220308200449.1757478-1-mykolal@fb.com (mailing list archive)
Headers show
Series BPF test_progs tests improvement | expand

Message

Mykola Lysenko March 8, 2022, 8:04 p.m. UTC
First patch reduces the sample_freq to 1000 to ensure test will
work even when kernel.perf_event_max_sample_rate was reduced to 1000.

Patches for send_signal and find_vma tune the test implementation to
make sure needed thread is scheduled. Also, both tests will finish as
soon as possible after the test condition is met.

Mykola Lysenko (3):
  Improve perf related BPF tests (sample_freq issue)
  Improve send_signal BPF test stability
  Improve stability of find_vma BPF test

 .../selftests/bpf/prog_tests/bpf_cookie.c       |  2 +-
 .../testing/selftests/bpf/prog_tests/find_vma.c | 13 ++++++++++---
 .../selftests/bpf/prog_tests/perf_branches.c    |  4 ++--
 .../selftests/bpf/prog_tests/perf_link.c        |  2 +-
 .../selftests/bpf/prog_tests/send_signal.c      | 17 ++++++++++-------
 .../selftests/bpf/progs/test_send_signal_kern.c |  2 +-
 6 files changed, 25 insertions(+), 15 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org March 9, 2022, 1:50 a.m. UTC | #1
Hello:

This series was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Tue, 8 Mar 2022 12:04:46 -0800 you wrote:
> First patch reduces the sample_freq to 1000 to ensure test will
> work even when kernel.perf_event_max_sample_rate was reduced to 1000.
> 
> Patches for send_signal and find_vma tune the test implementation to
> make sure needed thread is scheduled. Also, both tests will finish as
> soon as possible after the test condition is met.
> 
> [...]

Here is the summary with links:
  - [v4,bpf-next,1/3] Improve perf related BPF tests (sample_freq issue)
    https://git.kernel.org/bpf/bpf-next/c/d4b540544499
  - [v4,bpf-next,2/3] Improve send_signal BPF test stability
    https://git.kernel.org/bpf/bpf-next/c/1fd49864127c
  - [v4,bpf-next,3/3] Improve stability of find_vma BPF test
    https://git.kernel.org/bpf/bpf-next/c/ba83af059153

You are awesome, thank you!