Explore the evolution of the Linux kernel's ftrace mechanism on arm64 architecture in this 41-minute conference talk from Kernel Recipes 2023. Dive into the low-level details of arm64's ftrace implementation, focusing on recent advancements such as DYNAMIC_FTRACE_WITH_ARGS and DYNAMIC_FTRACE_WITH_CALL_OPS. Understand how these developments enable richer, lower overhead tracing while maintaining simple and maintainable architecture code. Learn about the inner workings of ftrace on arm64, including its ability to dynamically attach hooks to kernel functions for tracing, debugging, and live-patching purposes. Gain insights into the design choices made during the implementation process and their implications for kernel development on arm64 platforms.
Overview
Syllabus
Kernel Recipes 2023 - Evolving ftrace on arm64
Taught by
Kernel Recipes