commands

bpftrace — Tracing language tool

Reports the tracing tool version. Actual tracing depends on kernel support, privileges and available probes; use only an authorized isolated lab. Use a fresh private workspace; No production workload is required.

Formal Syntax & Structure

linux syntaxlinux
bpftrace --version

Parameters & Attributes

NameTypeDescription
--versionoptionPrint version

Return Value

exit status and output

The version option prints the installed tracing tool version. A successful query does not establish that a probe can be attached or that tracing privileges are available.

Working Example

Example Snippetlinux
bpftrace --version
Linux Reference