Re: [PATCH v2] perf build: Make libunwind opt-in rather than opt-out
From: Namhyung Kim
Date: Tue Nov 05 2024 - 11:41:47 EST
On Mon, 28 Oct 2024 12:36:19 -0700, Ian Rogers wrote:
> Having multiple unwinding libraries makes the perf code harder to
> understand and we have unused/untested code paths.
>
> Perf made BPF support an opt-out rather than opt-in feature. As libbpf
> has a libelf dependency, elfutils that provides libelf will also
> provide libdw. When libdw is present perf will use libdw unwinding
> rather than libunwind unwinding even if libunwind support is compiled
> in.
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
Namhyung