uprobes/tracing: Make seq_printf() code uretprobe-friendly
authorOleg Nesterov <oleg@redhat.com>
Sat, 30 Mar 2013 18:48:09 +0000 (19:48 +0100)
committerOleg Nesterov <oleg@redhat.com>
Sat, 13 Apr 2013 13:32:03 +0000 (15:32 +0200)
commit3ede82dd3e3deb23429f2bf44fb600f440eef84b
treeecf9313c1a1275b3b70ead7772f66a853e9f386f
parent4d1298e2124767b4e263498485618b2e91aee5f0
uprobes/tracing: Make seq_printf() code uretprobe-friendly

Change probes_seq_show() and print_uprobe_event() to check
is_ret_probe() and print the correct data.

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