diff options
author | Daniel Müller <deso@posteo.net> | 2022-05-23 23:04:27 +0000 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-06-02 16:26:36 -0700 |
commit | dea73da2213a722d952840edd598f2f3a40ddc68 (patch) | |
tree | 10f8679341ab178b2ef28c45c56bc9dc5f6f35d2 /tools/bpf/bpftool/prog.c | |
parent | ba5d1b5802d4a732cb563e81ff30b7f514257a99 (diff) |
selftests/bpf: Add test for libbpf_bpf_link_type_str
This change adds a test for libbpf_bpf_link_type_str. The test retrieves
all variants of the bpf_link_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-12-deso@posteo.net
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions