Skip to content

selftests/bpf: fix bpf_cookie failures

Sun Jian bpf linux-kselftest lkml 2 versions – Applied

Status from this message: This series was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesApplied 2/2
  2. v12 patches 4 repliesSuperseded

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2selftests/bpf: bpf_cookie: skip kprobe_multi tests without bpf_testmodtools/testing/selftests/bpf/prog_tests/bpf_cookie.c+10 -01 replyApplied
2/2selftests/bpf: bpf_cookie: make perf_event subtest trigger reliablytools/testing/selftests/bpf/prog_tests/bpf_cookie.c+11 -83 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJiri Olsa
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] selftests/bpf: fix bpf_cookie failures

Fix bpf_cookie failures due to missing bpf_testmod and flaky perf_event triggering.

Tested:
./test_progs -t bpf_cookie/perf_event -vv (30 runs): 0 failures ./test_progs -t bpf_cookie -vv

Sun Jian (2):
selftests/bpf: bpf_cookie: skip kprobe_multi tests without bpf_testmod selftests/bpf: bpf_cookie: make perf_event subtest trigger reliably

 .../selftests/bpf/prog_tests/bpf_cookie.c     | 29 ++++++++++++++-----
 1 file changed, 21 insertions(+), 8 deletions(-)

base-commit: f4d0ec0aa20d49f09dc01d82894ce80d72de0560

Signature · 1 line
2.43.0