Skip to content

bpftool: update documentation and fix checks

Quentin Monnet bpf netdev 1 version Applied

Status from this message: This series was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3bpftool: Add SPDX tags to RST documentation filestools/bpf/bpftool/Documentation/Makefile tools/bpf/bpftool/Documentation/bpftool-btf.rst tools/bpf/bpftool/Documentation/bpftool-cgroup.rst +11 more+27 -10 repliesApplied
2/3bpftool: Update doc (use susbtitutions) and test_bpftool_synctypes.pytools/bpf/bpftool/Documentation/bpftool-btf.rst tools/bpf/bpftool/Documentation/bpftool-cgroup.rst tools/bpf/bpftool/Documentation/bpftool-feature.rst +11 more+102 -250 repliesApplied
3/3selftests/bpf: Configure dir paths via env in test_bpftool_synctypes.pytools/testing/selftests/bpf/test_bpftool_synctypes.py+17 -90 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH bpf-next 0/3] bpftool: update documentation and fix checks

This set updates the list of options for bpftool commands, as displayed in the summary of the man pages. It also updates the script that checks those option lists, to make it more robust, and more reusable if the layout of bpftool's directory changed.

Checkpatch complained about the missing SPDX tag when I added a new file under bpftool/Documentation; I fixed it by adding the tag, and while at it, I also added the tags to all RST files for bpftool's documentation (see first patch of this set).

Quentin Monnet (3):
bpftool: Add SPDX tags to RST documentation files
bpftool: Update doc (use susbtitutions) and test_bpftool_synctypes.py selftests/bpf: Configure dir paths via env in
test_bpftool_synctypes.py

 tools/bpf/bpftool/Documentation/Makefile      |  2 +-
 .../bpf/bpftool/Documentation/bpftool-btf.rst |  7 +-
 .../bpftool/Documentation/bpftool-cgroup.rst  |  7 +-
 .../bpftool/Documentation/bpftool-feature.rst |  6 +-
 .../bpf/bpftool/Documentation/bpftool-gen.rst |  7 +-
 .../bpftool/Documentation/bpftool-iter.rst    |  6 +-
 .../bpftool/Documentation/bpftool-link.rst    |  7 +-
 .../bpf/bpftool/Documentation/bpftool-map.rst |  7 +-
 .../bpf/bpftool/Documentation/bpftool-net.rst |  6 +-
 .../bpftool/Documentation/bpftool-perf.rst    |  6 +-
 .../bpftool/Documentation/bpftool-prog.rst    |  6 +-
 .../Documentation/bpftool-struct_ops.rst      |  6 +-
 tools/bpf/bpftool/Documentation/bpftool.rst   |  7 +-
 .../bpftool/Documentation/common_options.rst  |  2 +
 .../bpftool/Documentation/substitutions.rst   |  3 +
 .../selftests/bpf/test_bpftool_synctypes.py   | 94 ++++++++++++++++---
 16 files changed, 145 insertions(+), 34 deletions(-)
 create mode 100644 tools/bpf/bpftool/Documentation/substitutions.rst
Signature · 1 line
2.32.0