aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_ringbuf.c
AgeCommit message (Collapse)AuthorFilesLines
2020-06-01selftests/bpf: Add BPF ringbuf selftestsAndrii Nakryiko1-0/+78
Both singleton BPF ringbuf and BPF ringbuf with map-in-map use cases are tested. Also reserve+submit/discards and output variants of API are validated. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>