Namhyung Kim 03d8941298 perf probe: Use dwarf_getcfi_elf() instead of dwarf_getcfi()
The dwarf_getcfi() only checks .debug_frame section for CFI, but as
most binaries only have .eh_frame it'd return NULL and it makes
some variables inaccessible.

Using dwarf_getcfi_elf (along with dwarf_getelf()) allows to show and
add probe to more variables.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Link: http://lkml.kernel.org/r/1396854348-9296-1-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
2014-04-14 12:55:40 +02:00
..
2013-12-27 15:17:00 -03:00
2011-02-16 13:30:48 +01:00
2014-01-13 11:37:17 -03:00
2014-01-13 11:37:17 -03:00
2014-02-18 09:34:49 -03:00
2012-02-13 23:17:40 -02:00
2014-02-18 09:34:49 -03:00
2014-02-18 09:34:49 -03:00
2013-12-18 14:43:04 -03:00
2013-11-07 11:51:19 -03:00
2013-08-07 17:35:26 -03:00
2013-08-07 17:35:26 -03:00
2013-09-11 10:09:32 -03:00
2014-02-18 09:34:49 -03:00
2013-12-27 15:17:00 -03:00