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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.