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** | **net** | **feature** }
21 *OPTIONS* := { { **-V** | **--version** } | { **-h** | **--help** }
22 | { **-j** | **--json** } [{ **-p** | **--pretty** }] }
25 { **show** | **list** | **create** | **dump** | **update** | **lookup** | **getnext**
26 | **delete** | **pin** | **event_pipe** | **help** }
28 *PROG-COMMANDS* := { **show** | **list** | **dump jited** | **dump xlated** | **pin**
29 | **load** | **attach** | **detach** | **help** }
31 *CGROUP-COMMANDS* := { **show** | **list** | **attach** | **detach** | **help** }
33 *PERF-COMMANDS* := { **show** | **list** | **help** }
35 *NET-COMMANDS* := { **show** | **list** | **help** }
37 *FEATURE-COMMANDS* := { **probe** | **help** }
41 *bpftool* allows for inspection and simple modification of BPF objects
44 Note that format of the output of all tools is not guaranteed to be
45 stable and should not be depended upon.
50 Print short help message (similar to **bpftool help**).
53 Print version number (similar to **bpftool version**).
56 Generate JSON output. For commands that cannot produce JSON, this
60 Generate human-readable JSON output. Implies **-j**.
63 Allow loading maps with unknown map definitions.
66 Do not automatically attempt to mount any virtual file system
67 (such as tracefs or BPF virtual file system) when necessary.
74 **bpftool-prog**\ (8),
76 **bpftool-cgroup**\ (8),
77 **bpftool-feature**\ (8),