uprobes/tracing: Make register_uprobe_event() paths uretprobe-friendly
authorOleg Nesterov <oleg@redhat.com>
Sat, 30 Mar 2013 18:23:15 +0000 (19:23 +0100)
committerOleg Nesterov <oleg@redhat.com>
Sat, 13 Apr 2013 13:32:03 +0000 (15:32 +0200)
commit4d1298e2124767b4e263498485618b2e91aee5f0
treeec9888fa9d27d0e8be7a94c7d09623f09b3a770e
parent393a736c280d555d9301fc5516d4d401544eb9db
uprobes/tracing: Make register_uprobe_event() paths uretprobe-friendly

Change uprobe_event_define_fields(), and __set_print_fmt() to check
is_ret_probe() and use the appropriate format/fields.

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