perf for CPU Profiling

perf identifies hot functions.

Record

perf is the Linux kernel's built-in profiling tool. Engineers debugging CPU-intensive issues reach for perf; the tool produces detailed CPU profile data; the discipline is fluency with its options.

What recording looks like:

Recording is the data capture. The captured data drives the analysis.

Report

perf report analyzes the captured data. The output shows where CPU time was spent; the team's optimization targets are clear.

Reporting is the analysis. The captured data becomes actionable insight.

Careful

perf has overhead. Small but not zero; production use should be brief and targeted; the discipline includes recognizing when to use perf and when to use lighter alternatives.

perf for CPU profiling is one of those Linux operational skills that pays off in performance investigations. Nova AI Ops integrates with system telemetry, surfaces CPU patterns at scale, and complements local-tool investigation.