AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Sampling profilers and the Linux kernel profile 'perf'
This chapter dives into the details of sampling profilers and how they work at a low level. It explores the 'perf' profile in the Linux kernel, explaining its optimized method of stopping the world and recording the stack trace. The chapter also highlights the significance of profiling memory allocation for performance engineering and the trade-offs in using tools like 'perf'.