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>
Wed, 10 Aug 2022 18:11:48 +0000 (19:11 +0100)
commitc259a3d4fbfd230ae72389b397f7d551e0d0cb38
treec58dbc92c7efac97043c5739da027eec54c00806
parent14accb99617b8682d90247f8926c84629f49f0a9
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