Make ftrace_regs a Common Trace Interface for Function Entry/Exit Tracing
Linux Plumbers Conference via YouTube
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the proposal to implement ftrace_regs as a common trace interface for function entry/exit tracing in this Linux Plumbers Conference talk. Dive into the limitations of using pt_regs for function tracing, particularly in RISC architectures, and understand why a new register-set data structure is needed. Learn about the differences between kprobe and fprobe, and how the latter, based on ftrace and rethook, can benefit from this change. Examine the challenges in implementing ftrace_regs, including compatibility with eBPF, and discover the potential for integrating rethook with function-graph tracer. Gain insights into how this proposal aims to optimize function tracing performance and resource usage across various architectures.
Syllabus
Make ftrace_regs a common trace interface for function entry/exit tracing - Masami Hiramatsu
Taught by
Linux Plumbers Conference