tools/bpf/bpftool/Documentation/common_options.rst

Source file repositories/reference/linux-study-clean/tools/bpf/bpftool/Documentation/common_options.rst

File Facts

System
Linux kernel
Corpus path
tools/bpf/bpftool/Documentation/common_options.rst
Extension
.rst
Size
962 bytes
Lines
24
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

.. 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.

Annotation

Implementation Notes