perf probe: Fix type searching
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Thu, 21 Oct 2010 10:13:02 +0000 (19:13 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 21 Oct 2010 17:57:08 +0000 (15:57 -0200)
commit4046b8bb5ffae9ee916e504cdadee804f10e0c56
tree67f8991a7dfad249176999eec0e064d385f2cd9d
parentf4bc6bb2d562703eafc895c37e7be20906de139d
perf probe: Fix type searching

Fix to get the actual type die of variables by using dwarf_attr_integrate()
which gets attribute from die even if the type die is connected by
DW_AT_abstract_origin.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
LKML-Reference: <20101021101302.3542.38549.stgit@ltc236.sdl.hitachi.co.jp>
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/probe-finder.c