Following: commitbd054102a8
("libbpf: enforce strict libbpf 1.0 behaviors") commit93b8952d22
("libbpf: deprecate legacy BPF map definitions") The --legacy option is no longer relevant as libbpf no longer supports it. libbpf_set_strict_mode() is a no-op operation. Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@industrialdiscipline.com> Acked-by: Yonghong Song <yhs@fb.com> Reviewed-by: Quentin Monnet <quentin@isovalent.com> Link: https://lore.kernel.org/r/20221120112515.38165-2-sahid.ferdjaoui@industrialdiscipline.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
25 lines
956 B
ReStructuredText
25 lines
956 B
ReStructuredText
.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
|
|
-h, --help
|
|
Print short help message (similar to **bpftool help**).
|
|
|
|
-V, --version
|
|
Print bpftool's version number (similar to **bpftool version**), the
|
|
number of the libbpf version in use, and optional features that were
|
|
included when bpftool was compiled. Optional features include linking
|
|
against LLVM or libbfd to provide the disassembler for JIT-ted
|
|
programs (**bpftool prog dump jited**) and usage of BPF skeletons
|
|
(some features like **bpftool prog profile** or showing pids
|
|
associated to BPF objects may rely on it).
|
|
|
|
-j, --json
|
|
Generate JSON output. For commands that cannot produce JSON, this
|
|
option has no effect.
|
|
|
|
-p, --pretty
|
|
Generate human-readable JSON output. Implies **-j**.
|
|
|
|
-d, --debug
|
|
Print all logs available, even debug-level information. This includes
|
|
logs from libbpf as well as from the verifier, when attempting to
|
|
load programs.
|