Main Page

From Perf Wiki
Revision as of 15:37, 29 June 2011 by Willemb (Talk | contribs)

Jump to: navigation, search
...More than just counters...


perf: Linux profiling with performance counters

Introduction

This is the wiki page for the perf performance counters subsystem in Linux. Performance counters are CPU hardware registers that count hardware events such as instructions executed, cache-misses suffered, or branches mispredicted. They form a basis for profiling applications to trace dynamic control flow and identify hotspots.

perf provides rich generalized abstractions over hardware specific capabilities. Among others, it provides per task, per CPU and per-workload counters, counter groups, and sampling capabilities on top of those. The userspace perf tools present a simple to use interface with commands like

To learn more, see the examples in the Tutorial.

Wiki Contents

Personal tools