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