Re: [PATCH v11 8/9] arm64: Add kernel return probes support (kretprobes)

2016-03-21 Thread David Long
On 03/17/2016 08:58 AM, 平松雅巳 / HIRAMATU,MASAMI wrote: From: 平松雅巳 / HIRAMATU,MASAMI [mailto:masami.hiramatsu...@hitachi.com] Hi, From: Sandeepa Prabhu The pre-handler of this special 'trampoline' kprobe executes the return probe handler functions and restores original return address in ELR_EL

RE: [PATCH v11 8/9] arm64: Add kernel return probes support (kretprobes)

2016-03-19 Thread 平松雅巳 / HIRAMATU,MASAMI
Hi, >From: Sandeepa Prabhu > >The pre-handler of this special 'trampoline' kprobe executes the return >probe handler functions and restores original return address in ELR_EL1. >This way the saved pt_regs still hold the original register context to be >carried back to the probed kernel function.

RE: [PATCH v11 8/9] arm64: Add kernel return probes support (kretprobes)

2016-03-19 Thread 平松雅巳 / HIRAMATU,MASAMI
>From: 平松雅巳 / HIRAMATU,MASAMI [mailto:masami.hiramatsu...@hitachi.com] > >Hi, > >>From: Sandeepa Prabhu >> >>The pre-handler of this special 'trampoline' kprobe executes the return >>probe handler functions and restores original return address in ELR_EL1. >>This way the saved pt_regs still hold th

[PATCH v11 8/9] arm64: Add kernel return probes support (kretprobes)

2016-03-08 Thread David Long
From: Sandeepa Prabhu The pre-handler of this special 'trampoline' kprobe executes the return probe handler functions and restores original return address in ELR_EL1. This way the saved pt_regs still hold the original register context to be carried back to the probed kernel function. Signed-off-