Skip to content

Commit 6585abe

Browse files
danobianakryiko
authored andcommitted
bpftool: man: Add missing top level docs
The top-level (bpftool.8) man page was missing docs for a few subcommands and their respective sub-sub-commands. This commit brings the top level man page up to date. Note that I've kept the ordering of the subcommands the same as in `bpftool help`. Signed-off-by: Daniel Xu <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/3049ef5dc509c0d1832f0a8b2dba2ccaad0af688.1647213551.git.dxu@dxuuu.xyz
1 parent cbdaf71 commit 6585abe

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

tools/bpf/bpftool/Documentation/bpftool.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ SYNOPSIS
2020

2121
**bpftool** **version**
2222

23-
*OBJECT* := { **map** | **program** | **cgroup** | **perf** | **net** | **feature** }
23+
*OBJECT* := { **map** | **program** | **link** | **cgroup** | **perf** | **net** | **feature** |
24+
**btf** | **gen** | **struct_ops** | **iter** }
2425

2526
*OPTIONS* := { { **-V** | **--version** } | |COMMON_OPTIONS| }
2627

@@ -31,6 +32,8 @@ SYNOPSIS
3132
*PROG-COMMANDS* := { **show** | **list** | **dump jited** | **dump xlated** | **pin** |
3233
**load** | **attach** | **detach** | **help** }
3334

35+
*LINK-COMMANDS* := { **show** | **list** | **pin** | **detach** | **help** }
36+
3437
*CGROUP-COMMANDS* := { **show** | **list** | **attach** | **detach** | **help** }
3538

3639
*PERF-COMMANDS* := { **show** | **list** | **help** }
@@ -39,6 +42,14 @@ SYNOPSIS
3942

4043
*FEATURE-COMMANDS* := { **probe** | **help** }
4144

45+
*BTF-COMMANDS* := { **show** | **list** | **dump** | **help** }
46+
47+
*GEN-COMMANDS* := { **object** | **skeleton** | **min_core_btf** | **help** }
48+
49+
*STRUCT-OPS-COMMANDS* := { **show** | **list** | **dump** | **register** | **unregister** | **help** }
50+
51+
*ITER-COMMANDS* := { **pin** | **help** }
52+
4253
DESCRIPTION
4354
===========
4455
*bpftool* allows for inspection and simple modification of BPF objects

0 commit comments

Comments
 (0)