blob: 44e07799d54dae8e9beaa12844dd20b8abc39f88 [file] [log] [blame]
Jakub Kicinskiff69c212017-10-04 20:10:05 -07001================
2BPFTOOL
3================
4-------------------------------------------------------------------------------
5tool for inspection and simple manipulation of eBPF programs and maps
6-------------------------------------------------------------------------------
7
8:Manual section: 8
9
10SYNOPSIS
11========
12
Quentin Monnet47ff7ac2017-10-23 09:24:15 -070013 **bpftool** *OBJECT* { *COMMAND* | **help** }
Jakub Kicinskiff69c212017-10-04 20:10:05 -070014
Quentin Monnet47ff7ac2017-10-23 09:24:15 -070015 **bpftool** **batch file** *FILE*
Jakub Kicinskiff69c212017-10-04 20:10:05 -070016
Quentin Monnet47ff7ac2017-10-23 09:24:15 -070017 **bpftool** **version**
Quentin Monnet821cfbb2017-10-19 15:46:26 -070018
Jakub Kicinskiff69c212017-10-04 20:10:05 -070019 *OBJECT* := { **map** | **program** }
20
21 *MAP-COMMANDS* :=
Quentin Monnet47ff7ac2017-10-23 09:24:15 -070022 { **show** | **dump** | **update** | **lookup** | **getnext** | **delete**
23 | **pin** | **help** }
Jakub Kicinskiff69c212017-10-04 20:10:05 -070024
Quentin Monnet47ff7ac2017-10-23 09:24:15 -070025 *PROG-COMMANDS* := { **show** | **dump jited** | **dump xlated** | **pin**
26 | **help** }
Jakub Kicinskiff69c212017-10-04 20:10:05 -070027
28DESCRIPTION
29===========
30 *bpftool* allows for inspection and simple modification of BPF objects
31 on the system.
32
33 Note that format of the output of all tools is not guaranteed to be
34 stable and should not be depended upon.
35
Quentin Monneta2bc2e52017-10-23 09:24:06 -070036OPTIONS
37=======
38 -h, --help
39 Print short help message (similar to **bpftool help**).
40
41 -v, --version
42 Print version number (similar to **bpftool version**).
43
Jakub Kicinskiff69c212017-10-04 20:10:05 -070044SEE ALSO
45========
46 **bpftool-map**\ (8), **bpftool-prog**\ (8)