aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/recursion.c
diff options
context:
space:
mode:
authorDaniel Müller <deso@posteo.net>2022-05-23 23:04:21 +0000
committerAndrii Nakryiko <andrii@kernel.org>2022-06-02 16:26:22 -0700
commitc3a2574011a313707570d35b7e6e6536eda69dbb (patch)
treeb22f8cd67005a7976cd88f607e915ff889015862 /tools/testing/selftests/bpf/prog_tests/recursion.c
parent3e6dc0207b33edf90be4d5cbbaf06223aa38e50b (diff)
downloadlinux-c3a2574011a313707570d35b7e6e6536eda69dbb.tar.gz
linux-c3a2574011a313707570d35b7e6e6536eda69dbb.tar.bz2
linux-c3a2574011a313707570d35b7e6e6536eda69dbb.zip
selftests/bpf: Add test for libbpf_bpf_map_type_str
This change adds a test for libbpf_bpf_map_type_str. The test retrieves all variants of the bpf_map_type enumeration using BTF and makes sure that the function under test works as expected for them. Signed-off-by: Daniel Müller <deso@posteo.net> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Quentin Monnet <quentin@isovalent.com> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20220523230428.3077108-6-deso@posteo.net
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions