OPPO Kernel Craftsman
Aug 5, 2022 · Operations
Understanding Linux ftrace Function Graph Tracer on ARM64
The article details how Linux’s function‑graph ftrace tracer works on ARM64, explaining required kernel configs, how -pg inserts _mcount calls, the runtime patching of ftrace_graph_caller, register usage for argument passing, and return handling, and why shadow‑call‑stack must be disabled to enable precise call‑graph and timing analysis.
ARM64Kernel TracingLinux
0 likes · 10 min read