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 version number (similar to **bpftool version**), and optional 8 features that were included when bpftool was compiled. Optional 9 features include linking against libbfd to provide the disassembler 10 for JIT-ted programs (**bpftool prog dump jited**) and usage of BPF 11 skeletons (some features like **bpftool prog profile** or showing 12 pids associated to BPF objects may rely on it). 13 14-j, --json 15 Generate JSON output. For commands that cannot produce JSON, this 16 option has no effect. 17 18-p, --pretty 19 Generate human-readable JSON output. Implies **-j**. 20 21-d, --debug 22 Print all logs available, even debug-level information. This includes 23 logs from libbpf as well as from the verifier, when attempting to 24 load programs. 25 26-l, --legacy 27 Use legacy libbpf mode which has more relaxed BPF program 28 requirements. By default, bpftool has more strict requirements 29 about section names, changes pinning logic and doesn't support 30 some of the older non-BTF map declarations. 31 32 See https://github.com/libbpf/libbpf/wiki/Libbpf:-the-road-to-v1.0 33 for details. 34