]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
perf unwind: Pass symbol source to libunwind
authorRabin Vincent <rabin.vincent@axis.com>
Thu, 29 Oct 2015 07:49:36 +0000 (08:49 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Oct 2015 20:48:38 +0000 (17:48 -0300)
commit7ed4915ad60788d6b846e2cd034f49ee15698143
tree81cc1a59203c393286dba3e76daa343f5c35b127
parent3af6ed84eb43c587beb5f3252222e39e65d08c61
perf unwind: Pass symbol source to libunwind

Even if --symfs is used to point to the debug binaries, we send in the
non-debug filenames to libunwind, which leads to libunwind not finding
the debug frame.  Fix this by preferring the file in --symfs, if it is
available.

Signed-off-by: Rabin Vincent <rabin.vincent@axis.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Rabin Vincent <rabinv@axis.com>
Link: http://lkml.kernel.org/r/1446104978-26429-1-git-send-email-rabin.vincent@axis.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/unwind-libunwind.c