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 --versionParameters & Attributes
| Name | Type | Description |
|---|---|---|
| --version | option | Print 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