Re: [PATCH] perf dso: Fix build when libunwind is enabled

From: Namhyung Kim
Date: Wed Jul 24 2024 - 16:26:32 EST


On Mon, 15 Jul 2024 10:47:13 +0100, James Clark wrote:

> Now that symsrc_filename is always accessed through an accessor, we also
> need a free() function for it to avoid the following compilation error:
>
> util/unwind-libunwind-local.c:416:12: error: lvalue required as unary
> ‘&’ operand
> 416 | zfree(&dso__symsrc_filename(dso));
>
> [...]

Applied to perf-tools and the mainline. :)

Thanks,
Namhyung