Re: [v4,1/2] arch/powerpc: Implement Optprobes

2017-02-14 Thread Anju T Sudhakar
Thank You Michael. :) On Tuesday 14 February 2017 06:10 PM, Michael Ellerman wrote: On Wed, 2017-02-08 at 09:50:51 UTC, Anju T wrote: Current infrastructure of kprobe uses the unconditional trap instruction to probe a running kernel. Optprobe allows kprobe to replace the trap with a branch in

Re: [v4,1/2] arch/powerpc: Implement Optprobes

2017-02-14 Thread Michael Ellerman
On Wed, 2017-02-08 at 09:50:51 UTC, Anju T wrote: > Current infrastructure of kprobe uses the unconditional trap instruction > to probe a running kernel. Optprobe allows kprobe to replace the trap with > a branch instruction to a detour buffer. Detour buffer contains instructions > to create an in