powerpc/kprobes: Emulate instructions on kprobe handler re-entry
authorNaveen N. Rao <[email protected]>
Wed, 19 Apr 2017 12:51:05 +0000 (18:21 +0530)
committerMichael Ellerman <[email protected]>
Thu, 20 Apr 2017 13:18:56 +0000 (23:18 +1000)
commit22d8b3dec214cd43a773f621f95d254c50d2a092
tree8cf9983da50372af9888491d8b155c646f217edd
parent1cabd2f8f720a0ed612139547acb655495b23e8b
powerpc/kprobes: Emulate instructions on kprobe handler re-entry

On kprobe handler re-entry, try to emulate the instruction rather than single
stepping always.

Acked-by: Ananth N Mavinakayanahalli <[email protected]>
Signed-off-by: Naveen N. Rao <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
arch/powerpc/kernel/kprobes.c