diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2010-03-15 18:02:35 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-03-16 10:02:19 +0100 |
commit | d0cb4260f899d07462d49fc67e29f2438dbaca2f (patch) | |
tree | 09633fcc1f2bc5a5d172878f7991d440f9180043 /tools/perf/util/probe-finder.h | |
parent | perf probe: Fix offset to allow signed value (diff) | |
download | linux-d0cb4260f899d07462d49fc67e29f2438dbaca2f.tar.xz linux-d0cb4260f899d07462d49fc67e29f2438dbaca2f.zip |
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>
Diffstat (limited to 'tools/perf/util/probe-finder.h')
-rw-r--r-- | tools/perf/util/probe-finder.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/probe-finder.h b/tools/perf/util/probe-finder.h index d1a651793ba6..21f7354397b4 100644 --- a/tools/perf/util/probe-finder.h +++ b/tools/perf/util/probe-finder.h @@ -71,7 +71,6 @@ struct probe_finder { /* For variable searching */ Dwarf_Op *fb_ops; /* Frame base attribute */ - Dwarf_Addr cu_base; /* Current CU base address */ const char *var; /* Current variable name */ char *buf; /* Current output buffer */ int len; /* Length of output buffer */ |