Re: [RFC PATCH 18/32] function_graph: Fix to initalize ftrace_ops for fgraph with ftrace_graph_func

2023-11-06 Thread Steven Rostedt
On Tue, 7 Nov 2023 10:49:24 +0900 Masami Hiramatsu (Google) wrote: > > 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 >

Re: [RFC PATCH 18/32] function_graph: Fix to initalize ftrace_ops for fgraph with ftrace_graph_func

2023-11-06 Thread Google
On Mon, 6 Nov 2023 19:04:16 +0900 Masami Hiramatsu (Google) wrote: > On Mon, 6 Nov 2023 01:10:10 +0900 > "Masami Hiramatsu (Google)" wrote: > > > From: Masami Hiramatsu (Google) > > > > Fix to initialize the ftrace_ops of fgraph_ops with ftrace_graph_func > > instead of ftrace_stub. > >

Re: [RFC PATCH 18/32] function_graph: Fix to initalize ftrace_ops for fgraph with ftrace_graph_func

2023-11-06 Thread Google
On Mon, 6 Nov 2023 01:10:10 +0900 "Masami Hiramatsu (Google)" wrote: > From: Masami Hiramatsu (Google) > > Fix to initialize the ftrace_ops of fgraph_ops with ftrace_graph_func > instead of ftrace_stub. I've changed this, because fprobe entry handler is not called via fgraph without this.

[RFC PATCH 18/32] function_graph: Fix to initalize ftrace_ops for fgraph with ftrace_graph_func

2023-11-05 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) Fix to initialize the ftrace_ops of fgraph_ops with ftrace_graph_func instead of ftrace_stub. Signed-off-by: Masami Hiramatsu (Google) --- kernel/trace/fgraph.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/trace/fgraph.c