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)
commitab0720ce227cc54a2b841dc3c926ed83a819e4fb
tree29f9b71de8c377695f3751ac01e4e265e502f870
parent0b846445985895e75958ecd59061fd7bf77e0c3f
parent475a23c2c15fb2af76a27f89f632a48c03166f45
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>