Tag

trace events

1 views collected around this technical thread.

Deepin Linux
Deepin Linux
Jan 10, 2024 · Fundamentals

Understanding the ftrace Architecture: Ring Buffer, Tracers, and Trace Events in the Linux Kernel

This article explains the Linux kernel ftrace architecture, covering ring buffer principles and code, tracer implementations (function, function_graph, irq_off), trace events, dynamic and static instrumentation, and kprobe mechanisms, illustrating how tracing is integrated, managed, and optimized for various execution contexts.

Kernel TracingLinuxRing Buffer
0 likes · 15 min read
Understanding the ftrace Architecture: Ring Buffer, Tracers, and Trace Events in the Linux Kernel