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

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