Re: [PATCH v2 9/9] perf,tracing: Allow function tracing when !RCU

Steven Rostedt
2020-02-14T03:32:54Z

On Fri, 14 Feb 2020 11:42:45 +0900
Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> wrote:

> > > +++ b/kernel/trace/trace_event_perf.c
> > > @@ -477,7 +477,7 @@ static int perf_ftrace_function_register
> > > {
> > > struct ftrace_ops *ops = &event->ftrace_ops;
> > >
> > > - ops->flags = FTRACE_OPS_FL_RCU;
> > > + ops->flags = 0;
> >
> > FTRACE_OPS_FL_ENABLED?
>
> No, never mind.

:-)

-- Steve