tools/perf: Fix build without libbfd
authorBen Hutchings <benh@debian.org>
Tue, 5 Jul 2022 16:02:28 +0000 (18:02 +0200)
committerBen Hutchings <benh@debian.org>
Sat, 23 Jul 2022 16:29:57 +0000 (17:29 +0100)
commita2e03c2b451051b4c721d523d3a6787283748e0a
treebbebf62fa88fc43e8498eab66eaca4ea9518cab3
parentf826b33c197f17f5a65d2315b6b48dbda3cc8c8e
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