summaryrefslogtreecommitdiffstats
path: root/tools/scripts
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-04-07 16:05:48 +0900
committerJiri Olsa <jolsa@redhat.com>2014-04-14 12:55:40 +0200
commit03d89412981a7681971bc77edba1669595763030 (patch)
treea153fb1cde9350da10ccf844e292aa9300421478 /tools/scripts
parent182c228ebcf1ac67a44e62236d8f7a8a9a3c5699 (diff)
downloadop-kernel-dev-03d89412981a7681971bc77edba1669595763030.zip
op-kernel-dev-03d89412981a7681971bc77edba1669595763030.tar.gz
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>
Diffstat (limited to 'tools/scripts')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud