| .. | .. |
|---|
| 20 | 20 | PERF COMMANDS |
|---|
| 21 | 21 | ============= |
|---|
| 22 | 22 | |
|---|
| 23 | | -| **bpftool** **perf { show | list }** |
|---|
| 23 | +| **bpftool** **perf** { **show** | **list** } |
|---|
| 24 | 24 | | **bpftool** **perf help** |
|---|
| 25 | 25 | |
|---|
| 26 | 26 | DESCRIPTION |
|---|
| .. | .. |
|---|
| 40 | 40 | |
|---|
| 41 | 41 | OPTIONS |
|---|
| 42 | 42 | ======= |
|---|
| 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 |
|---|
| 55 | 44 | |
|---|
| 56 | 45 | EXAMPLES |
|---|
| 57 | 46 | ======== |
|---|
| .. | .. |
|---|
| 74 | 63 | {"pid":21765,"fd":5,"prog_id":7,"fd_type":"kretprobe","func":"__x64_sys_nanosleep","offset":0}, \ |
|---|
| 75 | 64 | {"pid":21767,"fd":5,"prog_id":8,"fd_type":"tracepoint","tracepoint":"sys_enter_nanosleep"}, \ |
|---|
| 76 | 65 | {"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) |
|---|