Overview
Explore the intricacies of function return hook mechanisms in Linux kernel development through this conference talk. Dive into the similarities and differences between kretprobe and function graph tracer, examining their approaches to hooking function returns. Understand the challenges that arise when both mechanisms are used simultaneously, leading to inefficient memory allocation and multiple function return hooks. Learn about potential solutions, including integrating the two mechanisms or simplifying the approach by removing kretprobes and utilizing fprobe's exit handler. Gain insights into the background, implementation strategies, and potential impacts on BPF and other tools. Discover how these changes could optimize kernel performance and streamline function return tracing in Linux systems.
Syllabus
Function return hook integration with Function graph tracer - Mr Masami Hiramatsu
Taught by
Linux Plumbers Conference