Re: [PATCH v5 1/2] ftrace: cleanup ftrace_graph_caller enable and disable
From: Catalin Marinas
Date: Fri Apr 29 2022 - 15:20:00 EST
On Thu, 21 Apr 2022 00:00:05 +0800, Chengming Zhou wrote:
> The ftrace_[enable,disable]_ftrace_graph_caller() are used to do
> special hooks for graph tracer, which are not needed on some ARCHs
> that use graph_ops:func function to install return_hooker.
> So introduce the weak version in ftrace core code to cleanup
> in x86.
Applied to arm64 (for-next/ftrace), thanks!
[1/2] ftrace: cleanup ftrace_graph_caller enable and disable
[2/2] arm64/ftrace: Make function graph use ftrace directly