tools/perf: Fix build without libbfd
authorBen Hutchings <benh@debian.org>
Tue, 5 Jul 2022 16:02:28 +0000 (18:02 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 1 Sep 2022 07:04:35 +0000 (08:04 +0100)
commit7eeafad3da8d3befa6bf8483f86ab09950eea94e
treed2e6ab23e272e3bec1c98c1032e3f735ecd72e54
parent5469cff069f0b043957626ece7e5c6e0182400be
tools/perf: Fix build without libbfd

Only include <tools/dis-asm-compat.h> if we are using libbfd.

Signed-off-by: Ben Hutchings <benh@debian.org>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name tools-perf-fix-build-without-libbfd.patch
tools/perf/util/annotate.c