uprobes/tracing: Change create_trace_uprobe() to support uretprobes
authorOleg Nesterov <oleg@redhat.com>
Sat, 30 Mar 2013 19:28:15 +0000 (20:28 +0100)
committerOleg Nesterov <oleg@redhat.com>
Sat, 13 Apr 2013 13:32:03 +0000 (15:32 +0200)
commit4ee5a52ed6301d0afa56cc995ef2c3795f45e801
tree2ed597fd7f5519f914bd7aed5561c141b6599c77
parent3ede82dd3e3deb23429f2bf44fb600f440eef84b
uprobes/tracing: Change create_trace_uprobe() to support uretprobes

Finally change create_trace_uprobe() to check if argv[0][0] == 'r'
and pass the correct "is_ret" to alloc_trace_uprobe().

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