uprobes/tracing: Don't pass addr=ip to perf_trace_buf_submit()
authorOleg Nesterov <oleg@redhat.com>
Wed, 10 Apr 2013 14:25:49 +0000 (16:25 +0200)
committerOleg Nesterov <oleg@redhat.com>
Sat, 13 Apr 2013 13:32:04 +0000 (15:32 +0200)
commit32520b2c695b23221751eb09360a6a3dd3105b52
tree2ae042675882778a52f7b6a22afc974a1d942365
parent4ee5a52ed6301d0afa56cc995ef2c3795f45e801
uprobes/tracing: Don't pass addr=ip to perf_trace_buf_submit()

uprobe_perf_print() passes addr=ip to perf_trace_buf_submit() for
no reason. This sets perf_sample_data->addr for PERF_SAMPLE_ADDR,
we already have perf_sample_data->ip initialized if PERF_SAMPLE_IP.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
kernel/trace/trace_uprobe.c