powerpc/kprobes: Optimize kprobe in kretprobe_trampoline()
authorAnju T <anju@linux.vnet.ibm.com>
Wed, 8 Feb 2017 09:50:52 +0000 (15:20 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 10 Feb 2017 02:28:05 +0000 (13:28 +1100)
commit762df10bad6954b353ee649c387a8ffacf6dc347
tree5dfc2db1b445fcd4e7124f08b45329f157e49456
parent51c9c0843993528bffc920c54c2121d9e6f8b090
powerpc/kprobes: Optimize kprobe in kretprobe_trampoline()

Kprobe placed on the  kretprobe_trampoline() during boot time can be
optimized, since the instruction at probe point is a 'nop'.

Signed-off-by: Anju T Sudhakar <anju@linux.vnet.ibm.com>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/kprobes.c
arch/powerpc/kernel/optprobes.c