diff options
author | Daniel Müller <[email protected]> | 2022-05-23 23:04:24 +0000 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2022-06-02 16:26:28 -0700 |
commit | 0b27b3d9fdf88c132b095a30ee2c61cd6e56e6cc (patch) | |
tree | 2b7824110c83f617466e47fc9cb56249fc60a347 /tools/bpf/bpftool/bash-completion | |
parent | ccde5760bac1b83cfb2bfed97748b71829cbe5d8 (diff) |
selftests/bpf: Add test for libbpf_bpf_attach_type_str
This change adds a test for libbpf_bpf_attach_type_str. The test
retrieves all variants of the bpf_attach_type enumeration using BTF and
makes sure that the function under test works as expected for them.
Signed-off-by: Daniel Müller <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Quentin Monnet <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/bash-completion')
0 files changed, 0 insertions, 0 deletions