summaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2021-02-26 23:49:34 +0300
committerAlexei Starovoitov <ast@kernel.org>2021-02-27 00:23:53 +0300
commit6b9e3331347ee9e84fe5c71d3eba7ec204f9bb25 (patch)
treeab8a104aef4dfda8e7f437a936e385b36dba4975 /scripts/bpf_helpers_doc.py
parent9de7f0fdab326a37c9f741f0f6c0f1cbc320a5ab (diff)
downloadlinux-6b9e3331347ee9e84fe5c71d3eba7ec204f9bb25.tar.xz
selftests/bpf: Add arraymap test for bpf_for_each_map_elem() helper
A test is added for arraymap and percpu arraymap. The test also exercises the early return for the helper which does not traverse all elements. $ ./test_progs -n 45 #45/1 hash_map:OK #45/2 array_map:OK #45 for_each:OK Summary: 1/2 PASSED, 0 SKIPPED, 0 FAILED Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210226204934.3885756-1-yhs@fb.com
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions