diff options
| author | Puranjay Mohan <puranjay@kernel.org> | 2025-09-11 14:58:03 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2025-09-11 13:00:44 -0700 |
| commit | 744eeb2b27c29a61ad13b6b6367636b233e32336 (patch) | |
| tree | f2333ce720132416513cca90cb8cb51531d6c26c /rust/helpers/build_bug.c | |
| parent | 5c5240d020615f13331f4e2c559186125eddc7d3 (diff) | |
selftests: bpf: introduce __stderr and __stdout
Add __stderr and __stdout to validate the output of BPF streams for bpf
selftests. Similar to __xlated, __jited, etc., __stderr/out can be used
in the BPF progs to compare a string (regex supported) to the output in
the bpf streams.
Signed-off-by: Puranjay Mohan <puranjay@kernel.org>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20250911145808.58042-5-puranjay@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions
