Extra features

Discover some less common use cases for bpftool

Test run

Manually test BPF programs

Profiling

Use bpftool to profile BPF programs for performance

Feature probing

Use bpftool to probe for BPF-related features on the system

Trace dump

Dump trace logs from BPF programs with bpftool

Control flow graph

Generate the control flow graph (CFG) of a BPF program with bpftool

JSON output

Use bpftool’s JSON output

Batch mode

Use bpftool’s batch mode to group multiple operations

Version

Print bpftool version and features