diff options
author | Remi Bernon <[email protected]> | 2020-08-21 18:52:36 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-09-04 14:38:15 -0300 |
commit | ba0509dcb7f806403b23234320711c45be9dccec (patch) | |
tree | 9722722208c5d892cae6590d8a3e46ff000f74eb /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e71e19a9ea70952a53d58a99971820ce6c1794a8 (diff) |
perf dso: Use libbfd to read build_id and .gnu_debuglink section
Wine generates PE binaries for most of its modules and perf is unable to
parse these files to get build_id or .gnu_debuglink section.
Using libbfd when available, instead of libelf, makes it possible to
resolve debug file location regardless of the dso binary format.
Committer notes:
Made the filename__read_build_id() variant that uses abfd->build_id
depend on the feature test that defines HAVE_LIBBFD_BUILDID_SUPPORT, to
get this to continue building with older libbfd/binutils.
Signed-off-by: Remi Bernon <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jacek Caban <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions