^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) ================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) BPFTOOL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) -------------------------------------------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) tool for inspection and simple manipulation of eBPF programs and maps
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) -------------------------------------------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) :Manual section: 8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) SYNOPSIS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) ========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) **bpftool** [*OPTIONS*] *OBJECT* { *COMMAND* | **help** }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) **bpftool** **batch file** *FILE*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) **bpftool** **version**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) *OBJECT* := { **map** | **program** | **cgroup** | **perf** | **net** | **feature** }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) *OPTIONS* := { { **-V** | **--version** } | { **-h** | **--help** }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) | { **-j** | **--json** } [{ **-p** | **--pretty** }] }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) *MAP-COMMANDS* :=
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) { **show** | **list** | **create** | **dump** | **update** | **lookup** | **getnext**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) | **delete** | **pin** | **event_pipe** | **help** }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) *PROG-COMMANDS* := { **show** | **list** | **dump jited** | **dump xlated** | **pin**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) | **load** | **attach** | **detach** | **help** }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) *CGROUP-COMMANDS* := { **show** | **list** | **attach** | **detach** | **help** }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) *PERF-COMMANDS* := { **show** | **list** | **help** }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) *NET-COMMANDS* := { **show** | **list** | **help** }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) *FEATURE-COMMANDS* := { **probe** | **help** }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) DESCRIPTION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) ===========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) *bpftool* allows for inspection and simple modification of BPF objects
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) on the system.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) Note that format of the output of all tools is not guaranteed to be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) stable and should not be depended upon.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) OPTIONS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) =======
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) .. include:: common_options.rst
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) -m, --mapcompat
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) Allow loading maps with unknown map definitions.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) -n, --nomount
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) Do not automatically attempt to mount any virtual file system
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) (such as tracefs or BPF virtual file system) when necessary.