Re: [PATCH 1/1] tools: perf: support .gnu_debugdata for symbols

From: Andi Kleen
Date: Fri Feb 14 2025 - 14:32:46 EST


Stephen Brennan <stephen.s.brennan@xxxxxxxxxx> writes:
> DSO_BINARY_TYPE__GUEST_KMODULE_COMP,
> diff --git a/tools/perf/util/symbol-elf.c b/tools/perf/util/symbol-elf.c
> index 66fd1249660a3..e578b7d406a69 100644
> --- a/tools/perf/util/symbol-elf.c
> +++ b/tools/perf/util/symbol-elf.c
> @@ -6,6 +6,7 @@
> #include <string.h>
> #include <unistd.h>
> #include <inttypes.h>
> +#include <lzma.h>

This needs some ifdefs in case lzma.h is not available?

-Andi