summaryrefslogtreecommitdiffstats
path: root/samples/kprobes
diff options
context:
space:
mode:
authorSandeepa Prabhu2016-07-08 18:35:53 +0200
committerCatalin Marinas2016-07-19 16:03:22 +0200
commitfcfd708b8cf86b8c1ca6ce014d50287f61c0eb88 (patch)
treeaf73c37b2b2fbbce3af32408eed8d8a0b19072b5 /samples/kprobes
parentarm64: Add trampoline code for kretprobes (diff)
downloadkernel-qcow2-linux-fcfd708b8cf86b8c1ca6ce014d50287f61c0eb88.tar.gz
kernel-qcow2-linux-fcfd708b8cf86b8c1ca6ce014d50287f61c0eb88.tar.xz
kernel-qcow2-linux-fcfd708b8cf86b8c1ca6ce014d50287f61c0eb88.zip
arm64: Add kernel return probes support (kretprobes)
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-by: Sandeepa Prabhu <sandeepa.s.prabhu@gmail.com> Signed-off-by: David A. Long <dave.long@linaro.org> Acked-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'samples/kprobes')
0 files changed, 0 insertions, 0 deletions