diff options
| author | 2022-05-23 23:04:19 +0000 | |
|---|---|---|
| committer | 2022-06-02 16:26:18 -0700 | |
| commit | b700eeb406a6c1f4d955242e06151f11f13d3e29 (patch) | |
| tree | 4c77bde1e1a3e44beda7666f99293c8575333220 /tools/testing/selftests/bpf/prog_tests/libbpf_str.c | |
| parent | selftests/bpf: Add test for libbpf_bpf_prog_type_str (diff) | |
| download | linux-dev-b700eeb406a6c1f4d955242e06151f11f13d3e29.tar.xz linux-dev-b700eeb406a6c1f4d955242e06151f11f13d3e29.zip | |
bpftool: Use libbpf_bpf_prog_type_str
This change switches bpftool over to using the recently introduced
libbpf_bpf_prog_type_str function instead of maintaining its own string
representation for the bpf_prog_type enum.
Signed-off-by: Daniel Müller <deso@posteo.net>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Acked-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20220523230428.3077108-4-deso@posteo.net
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/libbpf_str.c')
0 files changed, 0 insertions, 0 deletions
