]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf6d89891849fe9ae049683168133c3d9a8ddd7fd
treee5849e1f2eddcdb279c3633c829c6cc085be5323
parent2fad3932862a6803e66a9d6ffce373cf85000bcd
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