xref: /OK3568_Linux_fs/kernel/tools/bpf/bpftool/Documentation/common_options.rst (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun-h, --help
2*4882a593Smuzhiyun	  Print short help message (similar to **bpftool help**).
3*4882a593Smuzhiyun
4*4882a593Smuzhiyun-V, --version
5*4882a593Smuzhiyun	  Print version number (similar to **bpftool version**), and optional
6*4882a593Smuzhiyun	  features that were included when bpftool was compiled. Optional
7*4882a593Smuzhiyun	  features include linking against libbfd to provide the disassembler
8*4882a593Smuzhiyun	  for JIT-ted programs (**bpftool prog dump jited**) and usage of BPF
9*4882a593Smuzhiyun	  skeletons (some features like **bpftool prog profile** or showing
10*4882a593Smuzhiyun	  pids associated to BPF objects may rely on it).
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun-j, --json
13*4882a593Smuzhiyun	  Generate JSON output. For commands that cannot produce JSON, this
14*4882a593Smuzhiyun	  option has no effect.
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun-p, --pretty
17*4882a593Smuzhiyun	  Generate human-readable JSON output. Implies **-j**.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun-d, --debug
20*4882a593Smuzhiyun	  Print all logs available, even debug-level information. This includes
21*4882a593Smuzhiyun	  logs from libbpf as well as from the verifier, when attempting to
22*4882a593Smuzhiyun	  load programs.
23