]> git.baikalelectronics.ru Git - kernel.git/commit
tools: bpftool: Log info-level messages when building bpftool man pages
authorQuentin Monnet <quentin@isovalent.com>
Wed, 9 Sep 2020 16:22:50 +0000 (17:22 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 10 Sep 2020 18:02:45 +0000 (11:02 -0700)
commited6371c49117521cca89540ea41748c0c2a50ec9
tree69f04d2f1ed36e14b153001a792848a015e2fade
parentf24ea1dfdaa3f10c048f00ba778b3a3fd304f435
tools: bpftool: Log info-level messages when building bpftool man pages

To build man pages for bpftool (and for eBPF helper functions), rst2man
can log different levels of information. Let's make it log all levels
to keep the RST files clean.

Doing so, rst2man complains about double colons, used for literal
blocks, that look like underlines for section titles. Let's add the
necessary blank lines.

v2:
- Use "--verbose" instead of "-r 1" (same behaviour but more readable).
- Pass it through a RST2MAN_OPTS variable so we can easily pass other
  options too.

Signed-off-by: Quentin Monnet <quentin@isovalent.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200909162251.15498-2-quentin@isovalent.com
tools/bpf/bpftool/Documentation/Makefile
tools/bpf/bpftool/Documentation/bpftool-btf.rst
tools/bpf/bpftool/Documentation/bpftool-gen.rst
tools/bpf/bpftool/Documentation/bpftool-map.rst