[PATCH v6 5/6] arm64: Add kernel return probes support (kretprobes)

2015-04-20 Thread David Long
From: Sandeepa Prabhu AArch64 ISA does not have instructions to pop the PC register value from the 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

[PATCH v6 5/6] arm64: Add kernel return probes support (kretprobes)

2015-04-20 Thread David Long
From: Sandeepa Prabhu sandeepa.pra...@linaro.org AArch64 ISA does not have instructions to pop the PC register value from the 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