diff options
| author | Andrii Nakryiko <andrii@kernel.org> | 2023-03-08 10:41:19 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2023-03-08 16:19:51 -0800 |
| commit | 57400dcce6c2cf3985120c4ee28b37a1f4238dbb (patch) | |
| tree | 21e862f484486441f2e7553df38dba6faa6bdf4a /tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c | |
| parent | selftests/bpf: add bpf_for_each(), bpf_for(), and bpf_repeat() macros (diff) | |
| download | linux-57400dcce6c2cf3985120c4ee28b37a1f4238dbb.tar.gz linux-57400dcce6c2cf3985120c4ee28b37a1f4238dbb.zip | |
selftests/bpf: add iterators tests
Add various tests for open-coded iterators. Some of them excercise
various possible coding patterns in C, some go down to low-level
assembly for more control over various conditions, especially invalid
ones.
We also make use of bpf_for(), bpf_for_each(), bpf_repeat() macros in
some of these tests.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20230308184121.1165081-7-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c')
0 files changed, 0 insertions, 0 deletions
