diff options
author | Daniel Müller <deso@posteo.net> | 2022-05-23 23:04:22 +0000 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-06-02 16:26:24 -0700 |
commit | 2e98964bd6e283568730b1a4da3b1e4da3306a8e (patch) | |
tree | 531451f06709f20a67f53ca60ed133390db72c35 /tools/bpf/bpftool/prog.c | |
parent | c3a2574011a313707570d35b7e6e6536eda69dbb (diff) | |
download | linux-2e98964bd6e283568730b1a4da3b1e4da3306a8e.tar.gz linux-2e98964bd6e283568730b1a4da3b1e4da3306a8e.tar.bz2 linux-2e98964bd6e283568730b1a4da3b1e4da3306a8e.zip |
bpftool: Use libbpf_bpf_map_type_str
This change switches bpftool over to using the recently introduced
libbpf_bpf_map_type_str function instead of maintaining its own string
representation for the bpf_map_type enum.
Signed-off-by: Daniel Müller <deso@posteo.net>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20220523230428.3077108-7-deso@posteo.net
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions