Chapter 9

Ftrace

Abstract

This chapter covers the Linux kernel’s tracepoint infrastructure and ftrace tool. Techniques are shown for tracing the Linux kernel’s internal behavior. Usage of both the debugFS API, and graphical user interface, kernelshark, for Ftrace are shown.

Keywords

Linux ftrace

Linux tracepoint

Linux static tracepoint

Linux dynamic tracepoint

ftrace

kernelshark

blktrace

debugFS

Ftrace is a debugging infrastructure within the Linux kernel that exposes the kernel’s internal behavior. This data allows for the analyst to gain insights into what code paths ...

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.