hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/tools/bpf/bpftool/Documentation/bpftool-perf.rst
....@@ -20,7 +20,7 @@
2020 PERF COMMANDS
2121 =============
2222
23
-| **bpftool** **perf { show | list }**
23
+| **bpftool** **perf** { **show** | **list** }
2424 | **bpftool** **perf help**
2525
2626 DESCRIPTION
....@@ -40,18 +40,7 @@
4040
4141 OPTIONS
4242 =======
43
- -h, --help
44
- Print short generic help message (similar to **bpftool help**).
45
-
46
- -v, --version
47
- Print version number (similar to **bpftool version**).
48
-
49
- -j, --json
50
- Generate JSON output. For commands that cannot produce JSON, this
51
- option has no effect.
52
-
53
- -p, --pretty
54
- Generate human-readable JSON output. Implies **-j**.
43
+ .. include:: common_options.rst
5544
5645 EXAMPLES
5746 ========
....@@ -74,8 +63,3 @@
7463 {"pid":21765,"fd":5,"prog_id":7,"fd_type":"kretprobe","func":"__x64_sys_nanosleep","offset":0}, \
7564 {"pid":21767,"fd":5,"prog_id":8,"fd_type":"tracepoint","tracepoint":"sys_enter_nanosleep"}, \
7665 {"pid":21800,"fd":5,"prog_id":9,"fd_type":"uprobe","filename":"/home/yhs/a.out","offset":1159}]
77
-
78
-
79
-SEE ALSO
80
-========
81
- **bpftool**\ (8), **bpftool-prog**\ (8), **bpftool-map**\ (8)