]> 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)
commit9abbeace928e8970d45901aece0bacc7bc24c4d0
tree29f9b71de8c377695f3751ac01e4e265e502f870
parent3a19014978c9dd20fa94831072cc460a5daea8bc
parent688ee476927b55dcdeb256def0e5139b026aa534
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>