diff options
author | Anton Arapov <anton@redhat.com> | 2013-04-03 18:00:35 +0200 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2013-04-13 15:31:57 +0200 |
commit | 0dfd0eb8e4d72ded8b21f4fee74ba5547408cbe9 (patch) | |
tree | af23b10139df4ad0fc424ab7cffa859d216b9ac3 /include/linux/blkdev.h | |
parent | f15706b79d6f71e016cd06afa21ee31500029067 (diff) | |
download | linux-stable-0dfd0eb8e4d72ded8b21f4fee74ba5547408cbe9.tar.gz linux-stable-0dfd0eb8e4d72ded8b21f4fee74ba5547408cbe9.tar.bz2 linux-stable-0dfd0eb8e4d72ded8b21f4fee74ba5547408cbe9.zip |
uretprobes: Return probe entry, prepare_uretprobe()
When a uprobe with return probe consumer is hit, prepare_uretprobe()
function is invoked. It creates return_instance, hijacks return address
and replaces it with the trampoline.
* Return instances are kept as stack per uprobed task.
* Return instance is chained, when the original return address is
trampoline's page vaddr (e.g. recursive call of the probed function).
Signed-off-by: Anton Arapov <anton@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions