Re: [PATCH v10 7/9] arm64: Add trampoline code for kretprobes

2016-03-07 Thread David Long
On 03/02/2016 04:20 PM, William Cohen wrote: On 03/01/2016 01:19 PM, Marc Zyngier wrote: On 01/03/16 02:57, David Long wrote: From: William Cohen The trampoline code is used by kretprobes to capture a return from a probed function. This is done by saving the registers, calling the handler, a

Re: [PATCH v10 7/9] arm64: Add trampoline code for kretprobes

2016-03-02 Thread William Cohen
On 03/01/2016 01:19 PM, Marc Zyngier wrote: > On 01/03/16 02:57, David Long wrote: >> From: William Cohen >> >> The trampoline code is used by kretprobes to capture a return from a probed >> function. This is done by saving the registers, calling the handler, and >> restoring the registers. The c

Re: [PATCH v10 7/9] arm64: Add trampoline code for kretprobes

2016-03-01 Thread Marc Zyngier
On 01/03/16 02:57, David Long wrote: > From: William Cohen > > The trampoline code is used by kretprobes to capture a return from a probed > function. This is done by saving the registers, calling the handler, and > restoring the registers. The code then returns to the original saved caller > re

[PATCH v10 7/9] arm64: Add trampoline code for kretprobes

2016-02-29 Thread David Long
From: William Cohen The trampoline code is used by kretprobes to capture a return from a probed function. This is done by saving the registers, calling the handler, and restoring the registers. The code then returns to the original saved caller return address. It is necessary to do this directly