uretprobes: Introduce uprobe_consumer->ret_handler()
authorAnton Arapov <anton@redhat.com>
Wed, 3 Apr 2013 16:00:31 +0000 (18:00 +0200)
committerOleg Nesterov <oleg@redhat.com>
Sat, 13 Apr 2013 13:31:53 +0000 (15:31 +0200)
commitea024870cf10687b3fded66a9deb6253888f30b7
tree6071017ca5e987d991b42ceae519d92476ed3b36
parent3f47107c5c2972ca47f216889080f6ef818b25e3
uretprobes: Introduce uprobe_consumer->ret_handler()

Enclose return probes implementation, introduce ->ret_handler() and update
existing code to rely on ->handler() *and* ->ret_handler() for uprobe and
uretprobe respectively.

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>
include/linux/uprobes.h
kernel/events/uprobes.c