perf tools: Use the DWARF unwind info only if loaded
authorJean Pihet <jean.pihet@linaro.org>
Mon, 16 Dec 2013 16:43:14 +0000 (17:43 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 13 Jan 2014 13:06:26 +0000 (10:06 -0300)
commitd11416e76b3e2f60ed6cfa7c532d3b6777f66527
treed6187d56b211d5856fc5dfa6c2a0416879da010d
parent4887805384751717ef62a8f41439d1d3e4268b39
perf tools: Use the DWARF unwind info only if loaded

Use the info only if it has been found in the .debug_frame section of
the ELF binary.

Signed-off-by: Jean Pihet <jean.pihet@linaro.org>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linaro-kernel@lists.linaro.org
Cc: patches@linaro.org
Link: http://lkml.kernel.org/r/1387212194-8028-1-git-send-email-jean.pihet@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/unwind.c