diff options
| author | Daniel Müller <[email protected]> | 2022-05-23 23:04:18 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-06-02 16:26:15 -0700 |
| commit | 8c5d71d96379e80c7c0d0fa7186c04f4deb04f16 (patch) | |
| tree | 601a9c0f0176d9718e7499d682564f89a0b5f47a /tools/perf/scripts/python | |
| parent | d18616e7aa940414312d63de918ab2204d82a20e (diff) | |
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 <[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/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions