On Mon, 26 Nov 2018 20:30:49 +0900 Masami Hiramatsu <mhira...@kernel.org> wrote:
> > diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h > > index f98063e273e5..477ff9412d26 100644 > > --- a/include/linux/ftrace.h > > +++ b/include/linux/ftrace.h > > @@ -749,6 +749,18 @@ typedef int (*trace_func_graph_ent_t)(struct > > ftrace_graph_ent *); /* entry */ > > > > #ifdef CONFIG_FUNCTION_GRAPH_TRACER > > > > +struct fgraph_ops { > > + trace_func_graph_ent_t entryfunc; > > + trace_func_graph_ret_t retfunc; > > > + struct fgraph_ops __rcu *next; > > + unsigned long flags; > > + void *private; > > +#ifdef CONFIG_DYNAMIC_FTRACE > > + struct ftrace_ops_hash local_hash; > > + struct ftrace_ops_hash *func_hash; > > +#endif > > Hmm, can we introduce these fields when we actually use it? Sure. > > BTW, would you have any idea for using private field? I believe I answered this in another email. -- Steve