24 lines · plain
1.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2 3-h, --help4 Print short help message (similar to **bpftool help**).5 6-V, --version7 Print bpftool's version number (similar to **bpftool version**), the number8 of the libbpf version in use, and optional features that were included when9 bpftool was compiled. Optional features include linking against LLVM or10 libbfd to provide the disassembler for JIT-ted programs (**bpftool prog11 dump jited**) and usage of BPF skeletons (some features like **bpftool prog12 profile** or showing pids associated to BPF objects may rely on it).13 14-j, --json15 Generate JSON output. For commands that cannot produce JSON, this option16 has no effect.17 18-p, --pretty19 Generate human-readable JSON output. Implies **-j**.20 21-d, --debug22 Print all logs available, even debug-level information. This includes logs23 from libbpf as well as from the verifier, when attempting to load programs.24