uprobes/tracing: Introduce is_ret_probe() and uretprobe_dispatcher()
authorOleg Nesterov <oleg@redhat.com>
Sat, 30 Mar 2013 17:25:23 +0000 (18:25 +0100)
committerOleg Nesterov <oleg@redhat.com>
Sat, 13 Apr 2013 13:32:02 +0000 (15:32 +0200)
commitc1ae5c75e1034070b203dc9d4ad77ce196166a6c
treea7cd4e28f3562037c1f76797234a6a2d2ce7a24e
parenta51cc6041773dd88ff35608f54274bfd6ac68652
uprobes/tracing: Introduce is_ret_probe() and uretprobe_dispatcher()

Create the new functions we need to support uretprobes, and change
alloc_trace_uprobe() to initialize consumer.ret_handler if the new
"is_ret" argument is true. Curently this argument is always false,
so the new code is never called and is_ret_probe(tu) is false too.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Tested-by: Anton Arapov <anton@redhat.com>
kernel/trace/trace_uprobe.c