Overview
Dive into a 47-minute conference talk that unravels the mystery behind the twelve-year-old ftrace time stamp puzzle. Explore the intricacies of the ftrace ring buffer, including its per-CPU structure and sub-buffer organization. Learn about adding events, handling different contexts, and managing stack interruptions. Understand the process of adding events and timestamps with interrupts, and discover the visible effects of zero deltas. Delve into the concepts of Time Extends and Time Stamps, and follow along as the speaker, Steven Rostedt from VMware, presents the solution to this long-standing puzzle. Gain insights into the key players and states involved in this complex problem, and come away with a deeper understanding of ftrace's inner workings and timestamp mechanisms.
Syllabus
Intro
The ftrace ring buffer (per CPU)
The ftrace ring buffer (sub-buffer / buffer page)
ring buffer event
Adding events
Different contexts
Stack interruption
Adding an event and timestamp (with interrupts)
The visible effect of zero deltas
Time Extends and Time Stamps
The 12 year puzzle solved
The players
The States
Notes
Taught by
Linux Foundation