]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tools: bpftool: update, synchronise and validate types and options'
authorAndrii Nakryiko <andrii@kernel.org>
Fri, 30 Jul 2021 22:40:28 +0000 (15:40 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 30 Jul 2021 22:40:28 +0000 (15:40 -0700)
commit0f252bf55d38961d6bd5d7005480bb55946b8704
tree29f9b71de8c377695f3751ac01e4e265e502f870
parent302fcff75e118037acb8ca7cd3a60f10c3f7e980
parent07bb015da6b72367ced35b3cc6b6794702b1abff
Merge branch 'tools: bpftool: update, synchronise and validate types and options'

Quentin Monnet says:

====================

To work with the different program types, map types, attach types etc.
supported by eBPF, bpftool needs occasional updates to learn about the new
features supported by the kernel. When such types translate into new
keyword for the command line, updates are expected in several locations:
typically, the help message displayed from bpftool itself, the manual page,
and the bash completion file should be updated. The options used by the
different commands for bpftool should also remain synchronised at those
locations.

Several omissions have occurred in the past, and a number of types are
still missing today. This set is an attempt to improve the situation. It
brings up-to-date the lists of types or options in bpftool, and also adds a
Python script to the BPF selftests to automatically check that most of
these lists remain synchronised.

v2:
- Reformat some lines in the bash completion file.
- Do not reformat attach types, to preserve git-blame history.
- Do not call Python script from tools/testing/selftests/bpf/Makefile.
====================

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>