Re: [PATCH v3 3/5] arm64: Add kernel return probes support(kretprobes)

2014-11-18 Thread William Cohen
On 11/18/2014 01:32 AM, David Long wrote: > From: Sandeepa Prabhu > > AArch64 ISA does not instructions to pop PC register value > from stack(like ARM v7 has ldmia {...,pc}) without using > one of the general purpose registers. This means return probes > cannot return to the actual return

Re: [PATCH v3 3/5] arm64: Add kernel return probes support(kretprobes)

2014-11-18 Thread William Cohen
On 11/18/2014 01:32 AM, David Long wrote: From: Sandeepa Prabhu sandeepa.pra...@linaro.org AArch64 ISA does not instructions to pop PC register value from stack(like ARM v7 has ldmia {...,pc}) without using one of the general purpose registers. This means return probes cannot return to the

[PATCH v3 3/5] arm64: Add kernel return probes support(kretprobes)

2014-11-17 Thread David Long
From: Sandeepa Prabhu AArch64 ISA does not instructions to pop PC register value from stack(like ARM v7 has ldmia {...,pc}) without using one of the general purpose registers. This means return probes cannot return to the actual return address directly without modifying register context, and

[PATCH v3 3/5] arm64: Add kernel return probes support(kretprobes)

2014-11-17 Thread David Long
From: Sandeepa Prabhu sandeepa.pra...@linaro.org AArch64 ISA does not instructions to pop PC register value from stack(like ARM v7 has ldmia {...,pc}) without using one of the general purpose registers. This means return probes cannot return to the actual return address directly without modifying