Re: [BUGFIX PATCH 2/3] kprobes/arm: Skip single-stepping in recursing path if possible

2017-02-14 Thread Masami Hiramatsu
On Tue, 14 Feb 2017 10:07:17 + "Jon Medhurst (Tixy)" wrote: > On Tue, 2017-02-14 at 00:04 +0900, Masami Hiramatsu wrote: > > 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 re

Re: [BUGFIX PATCH 2/3] kprobes/arm: Skip single-stepping in recursing path if possible

2017-02-14 Thread Jon Medhurst (Tixy)
On Tue, 2017-02-14 at 00:04 +0900, Masami Hiramatsu wrote: > 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.

[BUGFIX PATCH 2/3] kprobes/arm: Skip single-stepping in recursing path if possible

2017-02-13 Thread Masami Hiramatsu
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 --- arch/arm/probes/kprobes/core.