perf - Linux Performance Profiling with Perf
Profile and trace Linux system performance using perf tool
Tags
Updated: 2026-03-24Capabilities
Typical Inputs
Typical Outputs
What this skill does
- record performance data
- generate perf report
- compare performance data
- display performance statistics
- create flame graphs
- analyze cache events
- analyze lock events
- analyze scheduler events
- resolve symbols
- analyze hot paths
- measure overhead
- generate flat profile
- examine call chains
- identify bottlenecks
Inputs
- perf.data file
- process ID
- Linux kernel
- kallsyms file
- sudo permissions
- DSO binaries
Outputs
- perf report text
- flame graph file
- performance statistics
- call chain data
- flat profile output
Requirements
- Linux kernel with perf support
- sudo privileges
- Bash shell access
- frame pointer support
