Skip to content

Commit

Permalink
selftests/bpf: Add selftests validating the user ringbuf
Browse files Browse the repository at this point in the history
This change includes selftests that validate the expected behavior and
APIs of the new BPF_MAP_TYPE_USER_RINGBUF map type.

Signed-off-by: David Vernet <void@manifault.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220920000100.477320-5-void@manifault.com
  • Loading branch information
David Vernet authored and Andrii Nakryiko committed Sep 21, 2022
1 parent b66ccae commit e5a9df5
Show file tree
Hide file tree
Showing 5 changed files with 1,185 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/testing/selftests/bpf/DENYLIST.s390x
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,4 @@ cb_refs # expected error message unexpected err
cgroup_hierarchical_stats # JIT does not support calling kernel function (kfunc)
htab_update # failed to attach: ERROR: strerror_r(-524)=22 (trampoline)
tracing_struct # failed to auto-attach: -524 (trampoline)
user_ringbuf # failed to find kernel BTF type ID of '__s390x_sys_prctl': -3 (?)
Loading

0 comments on commit e5a9df5

Please sign in to comment.