perf probe: Use original address instead of CU-based address
authorMasami Hiramatsu <mhiramat@redhat.com>
Mon, 15 Mar 2010 17:02:35 +0000 (13:02 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 16 Mar 2010 09:02:19 +0000 (10:02 +0100)
commitd0cb4260f899d07462d49fc67e29f2438dbaca2f
tree09633fcc1f2bc5a5d172878f7991d440f9180043
parent67c7ff7c56f38a8ab338fbbfe366621ce6303ba1
perf probe: Use original address instead of CU-based address

Use original address for looking up the location of variables
for dwarf_getlocation_addr() instead of CU-based address.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
LKML-Reference: <20100315170235.31852.91195.stgit@localhost6.localdomain6>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/probe-finder.c
tools/perf/util/probe-finder.h