Re: [v4, 3/6] kprobes: Skip preparing optprobe if the probe is ftrace-based

From: Michael Ellerman
Date: Mon Apr 24 2017 - 18:48:00 EST


On Wed, 2017-04-19 at 12:52:25 UTC, "Naveen N. Rao" wrote:
> From: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
>
> Skip preparing optprobe if the probe is ftrace-based, since anyway, it
> must not be optimized (or already optimized by ftrace).
>
> Tested-by: Naveen N. Rao <naveen.n.rao@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/a460246c70d1ac25a0717112e7a167

cheers