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 TracingRing Bufferftrace
0 likes · 15 min read