common_options.rst 962 B

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