Chapter 8

Perf

Abstract

This chapter focuses on the Linux kernel’s performance event infrastructure. This includes both the API exposed by the kernel through the perf_event_open(2) syscall, as well as the popular perf tool, which utilizes this API for performance profiling.

Keywords

perf

Linux perf

PMU

perf event

perf record

perf stat

perf timechart

perf_event_open

Get Power and Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.