[Verse 1] Deep within the kernel lies a treasure you can see Function calls and system events flowing naturally Built-in tracing waits for you to make the simple call Ftrace is the gateway to observe it all [Chorus] Trace command opens every door Function flows like never before Mount the debug filesystem space See the kernel's hidden place Trace command, trace command Shows you where each function lands [Verse 2] Enable tracers with an echo to the proper file Function tracer catches calls executing with such style Set your filters, narrow down the functions that you need Trace events will show you every kernel deed [Chorus] Trace command opens every door Function flows like never before Mount the debug filesystem space See the kernel's hidden place Trace command, trace command Shows you where each function lands [Bridge] Buffer size controls your memory Ring buffer holds your history Current tracer sets your mode Tracing on will start the flow All the tracers you can list Not a single call gets missed [Verse 3] Trace command record saves your traces to a file Start and stop with perfect timing keeps your data compiled Report command reads the traces, shows what has occurred Function graph displays each call tree, every single word [Chorus] Trace command opens every door Function flows like never before Mount the debug filesystem space See the kernel's hidden place Trace command, trace command Shows you where each function lands [Outro] From user space to kernel deep All execution flows you'll keep Ftrace and trace command combined Will illuminate the kernel's mind
← Static Kernel Analysis with objdump & nm | Memory Debugging with KASAN & SLUB Debug →