flâneur — a map of the web's best reading

PERF tutorial: Counting hardware performance events | Sand, software and sound

sandsoftwaresound.net · 3,365 words · saved by 1 readers

This article is part 2 of a three part series on the PERF (linux-tools) performance measurement and profiling system. In part 1, I demonstrate how to use PERF

This article is part 2 of a three part series on the PERF (linux-tools) performance measurement and profiling system. In part 1 , I demonstrate how to use PERF to identify and analyze the hottest execution spots in a program. Part 1 covers the basic PERF commands, options and software performance events. Part 2 introduces hardware performance events and demonstrates how to measure hardware events across an entire application. Part 3 uses hardware performance event sampling to identify and analyze program hot-spots. Each article builds on the usage and background information presented in the pr

Explore this link on the map →

related reading