Re: [RFC PATCH 18/32] function_graph: Fix to initalize ftrace_ops for fgraph with ftrace_graph_func
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2023-11-07 03:07:40
Also in:
bpf, lkml
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2023-11-07 03:07:40
Also in:
bpf, lkml
On Tue, 7 Nov 2023 10:49:24 +0900 Masami Hiramatsu (Google) [off-list ref] wrote:
quoted
I've changed this, because fprobe entry handler is not called via fgraph without this. But maybe I have to set correct gops->ops.func after init?I confirmed that this is right because it is introduced by 0c0593b45c9b ("x86/ftrace: Make function graph use ftrace directly") which replaces ftrace_stub with ftrace_graph_func (which automatically switched by architecture)
Agreed. -- Steve