Re: [PATCH v3 13/27] function_graph: Add pid tracing back to function graph tracer

2024-06-05 Thread Steven Rostedt
On Mon, 03 Jun 2024 15:07:17 -0400 Steven Rostedt wrote: > +++ b/kernel/trace/ftrace.c > @@ -100,7 +100,7 @@ struct ftrace_ops *function_trace_op __read_mostly = > &ftrace_list_end; > /* What to set function_trace_op to */ > static struct ftrace_ops *set_function_trace_op; > > -static bool f

[PATCH v3 13/27] function_graph: Add pid tracing back to function graph tracer

2024-06-03 Thread Steven Rostedt
From: "Steven Rostedt (Google)" Now that the function_graph has a main callback that handles the function graph subops tracing, it no longer honors the pid filtering of ftrace. Add back this logic in the function_graph code to update the gops callback for the entry function to test if it should t