1================ 2BPFTOOL 3================ 4------------------------------------------------------------------------------- 5tool for inspection and simple manipulation of eBPF programs and maps 6------------------------------------------------------------------------------- 7 8:Manual section: 8 9 10SYNOPSIS 11======== 12 13 **bpftool** [*OPTIONS*] *OBJECT* { *COMMAND* | **help** } 14 15 **bpftool** **batch file** *FILE* 16 17 **bpftool** **version** 18 19 *OBJECT* := { **map** | **program** } 20 21 *OPTIONS* := { { **-V** | **--version** } | { **-h** | **--help** } 22 | { **-j** | **--json** } [{ **-p** | **--pretty** }] } 23 24 *MAP-COMMANDS* := 25 { **show** | **dump** | **update** | **lookup** | **getnext** | **delete** 26 | **pin** | **help** } 27 28 *PROG-COMMANDS* := { **show** | **dump jited** | **dump xlated** | **pin** 29 | **help** } 30 31DESCRIPTION 32=========== 33 *bpftool* allows for inspection and simple modification of BPF objects 34 on the system. 35 36 Note that format of the output of all tools is not guaranteed to be 37 stable and should not be depended upon. 38 39OPTIONS 40======= 41 -h, --help 42 Print short help message (similar to **bpftool help**). 43 44 -v, --version 45 Print version number (similar to **bpftool version**). 46 47 -j, --json 48 Generate JSON output. For commands that cannot produce JSON, this 49 option has no effect. 50 51 -p, --pretty 52 Generate human-readable JSON output. Implies **-j**. 53 54SEE ALSO 55======== 56 **bpftool-map**\ (8), **bpftool-prog**\ (8) 57