Re: [PATCH] ftrace: Remove use of control list and ops

From: Steven Rostedt
Date: Wed Dec 02 2015 - 09:15:42 EST


On Wed, 2 Dec 2015 08:59:11 +0100
Jiri Olsa <jolsa@xxxxxxxxxx> wrote:

> > - op->func(ip, parent_ip, op, regs);
> > + preempt_disable_notrace();
>
> I was wondering about not disabling preemption in the original
> ftrace_ops_recurs_func function.. thats why I added new one ;-)

Yeah, I paused on that too. But then I realized that pretty much all
callers of function tracing disable preemption too, so it shouldn't
cause really any more overhead.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/