From: Namhyung Kim Date: Mon, 7 Apr 2014 07:05:48 +0000 (+0900) Subject: perf probe: Use dwarf_getcfi_elf() instead of dwarf_getcfi() X-Git-Tag: omap-for-v3.16/pm-signed~99^2~1^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03d89412981a7681971bc77edba1669595763030;p=pandora-kernel.git 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 Acked-by: Masami Hiramatsu Cc: Masami Hiramatsu Link: http://lkml.kernel.org/r/1396854348-9296-1-git-send-email-namhyung@kernel.org Signed-off-by: Jiri Olsa --- Reading git-diff-tree failed