]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: bpf: use __stderr in stream error tests
authorPuranjay Mohan <puranjay@kernel.org>
Thu, 11 Sep 2025 14:58:04 +0000 (14:58 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 11 Sep 2025 20:00:44 +0000 (13:00 -0700)
commitedd03fcd7601ce41068c183875c2cd3471a49f9a
tree9be3771fad4979e39d89ce05ebd239327a910508
parent744eeb2b27c29a61ad13b6b6367636b233e32336
selftests: bpf: use __stderr in stream error tests

Start using __stderr directly in the bpf programs to test the reporting
of may_goto timeout detection and spin_lock dead lock detection.

Signed-off-by: Puranjay Mohan <puranjay@kernel.org>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20250911145808.58042-6-puranjay@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/stream.c
tools/testing/selftests/bpf/progs/stream.c