Re: [RFC][PATCH 07/14] fgraph: Add new fgraph_ops structure to enable function graph hooks

From: Steven Rostedt
Date: Fri Nov 23 2018 - 13:25:54 EST


On Thu, 22 Nov 2018 18:59:46 -0800
Joel Fernandes <joel@xxxxxxxxxxxxxxxxx> wrote:

> > static struct ftrace_ops ftrace_profile_ops __read_mostly = {
> > diff --git a/kernel/trace/trace_functions_graph.c b/kernel/trace/trace_functions_graph.c
> > index 0e0ff08357cf..7c7fd13d2373 100644
> > --- a/kernel/trace/trace_functions_graph.c
> > +++ b/kernel/trace/trace_functions_graph.c
> > @@ -336,17 +336,25 @@ static void trace_graph_thresh_return(struct ftrace_graph_ret *trace)
> > trace_graph_return(trace);
> > }
> >
> > +static struct fgraph_ops funcgraph_threash_ops = {
>
> minor nit: should be funcgraph_thresh_ops ?

At least I got it wrong consistently :-)

Fixed, thanks!

-- Steve