perf
Linux kernel's performance analysis subsystem and userspace tool.
perf (the perf tool, distributed as part of the kernel source
tree as linux-tools) is the canonical interface to the kernel's
perf_events subsystem. It samples CPU performance counters,
records kernel and user stack traces, and produces flame graphs
and per-symbol profiles. It is the standard tool for low-level
performance analysis on Linux.
Because it is part of the kernel project, perf is updated in
lockstep with the kernel and supports every CPU feature exposed by
the running kernel.
Install
Debian/Ubuntu: sudo apt install linux-tools-common linux-tools-$(uname -r) Fedora: sudo dnf install perf Arch: sudo pacman -S perf
Authors
- Linux kernel team
