bpftool: Update the lists of names for maps and prog-attach types
authorQuentin Monnet <quentin@isovalent.com>
Wed, 10 Nov 2021 11:46:31 +0000 (11:46 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Mon, 15 Nov 2021 02:35:02 +0000 (18:35 -0800)
commit3811e2753a39efb8aa5b8c133dc24f6d26f6cd96
treed74cd2b37a0eb22c6b408d03b7256ee73f5bd344
parent986dec18bbf41f50edc2e0aa4ac5ef8e0f64f328
bpftool: Update the lists of names for maps and prog-attach types

To support the different BPF map or attach types, bpftool must remain
up-to-date with the types supported by the kernel. Let's update the
lists, by adding the missing Bloom filter map type and the perf_event
attach type.

Both missing items were found with test_bpftool_synctypes.py.

Signed-off-by: Quentin Monnet <quentin@isovalent.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211110114632.24537-6-quentin@isovalent.com
tools/bpf/bpftool/Documentation/bpftool-map.rst
tools/bpf/bpftool/bash-completion/bpftool
tools/bpf/bpftool/common.c
tools/bpf/bpftool/map.c