Daniel Müller 8c5d71d963 selftests/bpf: Add test for libbpf_bpf_prog_type_str
This change adds a test for libbpf_bpf_prog_type_str. The test retrieves
all variants of the bpf_prog_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-3-deso@posteo.net
2022-06-02 16:26:15 -07:00
..
2022-05-26 14:20:14 -07:00
2022-03-23 12:53:00 -07:00
2022-05-30 11:01:50 -07:00
2022-01-11 12:31:35 -08:00
2022-05-26 14:20:14 -07:00
2022-03-25 09:39:36 -07:00
2022-03-31 12:03:46 +09:00
2022-05-26 14:20:14 -07:00