4 -------------------------------------------------------------------------------
5 tool for inspection and simple manipulation of eBPF programs and maps
6 -------------------------------------------------------------------------------
13 **bpftool** [*OPTIONS*] *OBJECT* { *COMMAND* | **help** }
15 **bpftool** **batch file** *FILE*
17 **bpftool** **version**
19 *OBJECT* := { **map** | **program** | **cgroup** | **perf** }
21 *OPTIONS* := { { **-V** | **--version** } | { **-h** | **--help** }
22 | { **-j** | **--json** } [{ **-p** | **--pretty** }] }
25 { **show** | **list** | **dump** | **update** | **lookup** | **getnext** | **delete**
26 | **pin** | **event_pipe** | **help** }
28 *PROG-COMMANDS* := { **show** | **list** | **dump jited** | **dump xlated** | **pin**
29 | **load** | **help** }
31 *CGROUP-COMMANDS* := { **show** | **list** | **attach** | **detach** | **help** }
33 *PERF-COMMANDS* := { **show** | **list** | **help** }
37 *bpftool* allows for inspection and simple modification of BPF objects
40 Note that format of the output of all tools is not guaranteed to be
41 stable and should not be depended upon.
46 Print short help message (similar to **bpftool help**).
49 Print version number (similar to **bpftool version**).
52 Generate JSON output. For commands that cannot produce JSON, this
56 Generate human-readable JSON output. Implies **-j**.
60 **bpftool-map**\ (8), **bpftool-prog**\ (8), **bpftool-cgroup**\ (8)