tools: bpftool: Complete and synchronise attach or map types
authorQuentin Monnet <quentin@isovalent.com>
Fri, 30 Jul 2021 21:54:31 +0000 (22:54 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 30 Jul 2021 22:40:27 +0000 (15:40 -0700)
commitb544342e52fc3dfcc1d430fff8d1a7a3be920ffd
treee5849e1f2eddcdb279c3633c829c6cc085be5323
parenta2b5944fb4e05d6fe032ab130bfd1738481b892a
tools: bpftool: Complete and synchronise attach or map types

Update bpftool's list of attach type names to tell it about the latest
attach types, or the "ringbuf" map. Also update the documentation, help
messages, and bash completion when relevant.

These missing items were reported by the newly added Python script used
to help maintain consistency in bpftool.

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