arm: kprobes: Skip single-stepping in recursing path if possible
authorMasami Hiramatsu <mhiramat@kernel.org>
Mon, 13 Feb 2017 15:04:48 +0000 (00:04 +0900)
committerJon Medhurst <tixy@linaro.org>
Tue, 21 Mar 2017 16:24:18 +0000 (16:24 +0000)
commit91fc862c613ab7a0ef6b0b7755c33619127f4e5a
tree9b00473acb68d7e96b0dd5dd8093d26e1ba3ac69
parentf3fbd7ec62dec1528fb8044034e2885f2b257941
arm: kprobes: Skip single-stepping in recursing path if possible

Kprobes/arm skips single-stepping (moreover handling the event)
if the conditional instruction must not be executed. This
also apply the rule when we hit the recursing kprobe, so
that kprobe does not count nmissed up in that case.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
arch/arm/probes/kprobes/core.c