GNU Linux-libre 6.9.1-gnu
[releases.git] / tools / bpf / bpftool / Documentation / common_options.rst
1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
3 -h, --help
4           Print short help message (similar to **bpftool help**).
5
6 -V, --version
7           Print bpftool's version number (similar to **bpftool version**), the
8           number of the libbpf version in use, and optional features that were
9           included when bpftool was compiled. Optional features include linking
10           against LLVM or libbfd to provide the disassembler for JIT-ted
11           programs (**bpftool prog dump jited**) and usage of BPF skeletons
12           (some features like **bpftool prog profile** or showing pids
13           associated to BPF objects may rely on it).
14
15 -j, --json
16           Generate JSON output. For commands that cannot produce JSON, this
17           option has no effect.
18
19 -p, --pretty
20           Generate human-readable JSON output. Implies **-j**.
21
22 -d, --debug
23           Print all logs available, even debug-level information. This includes
24           logs from libbpf as well as from the verifier, when attempting to
25           load programs.