]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/bpf: Add tests for prog streams
authorKumar Kartikeya Dwivedi <memxor@gmail.com>
Thu, 3 Jul 2025 20:48:18 +0000 (13:48 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 4 Jul 2025 02:30:07 +0000 (19:30 -0700)
commit5697683e133d05e6333ee1f12a7e8dd402593258
tree25403b31c8dd5ffeea6a7f811e4ea02cf4e1c88c
parent876f5ebd58a9ac42f48a7ead3d5b274a314e0ace
selftests/bpf: Add tests for prog streams

Add selftests to stress test the various facets of the stream API,
memory allocation pattern, and ensuring dumping support is tested and
functional.

Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com>
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20250703204818.925464-13-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/stream.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/stream.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/stream_fail.c [new file with mode: 0644]