Re: [PATCH 6/9] kprobes: Prohibit probing on hardirq tracers

From: Steven Rostedt
Date: Thu Jan 10 2019 - 12:12:37 EST


On Thu, 10 Jan 2019 11:56:53 +0900
Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:

> Since kprobes breakpoint handling involves hardirq tracer,
> probing these functions cause breakpoint recursion problem.
>
> Prohibit probing on those functions.
>
> Signed-off-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
> ---
> kernel/trace/trace_irqsoff.c | 9 +++++++--
> kernel/trace/trace_preemptirq.c | 5 +++++
> 2 files changed, 12 insertions(+), 2 deletions(-)
>


Acked-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

-- Steve