]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/kprobes: Emulate instructions on kprobe handler re-entry
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Wed, 19 Apr 2017 12:51:05 +0000 (18:21 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Apr 2017 13:18:56 +0000 (23:18 +1000)
commit13dfa946a8c16ff15fd5fc933bfc609f167e12f7
tree8cf9983da50372af9888491d8b155c646f217edd
parent2aaaa725beb092bf4dbf6c32c6d71b96ee017244
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 <ananth@linux.vnet.ibm.com>
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/kprobes.c