Re: [PATCH v1 11/11] perf build: Rename PERF_HAVE_DWARF_REGS to PERF_HAVE_LIBDW_REGS
From: Namhyung Kim
Date: Wed Sep 25 2024 - 23:27:42 EST
On Tue, Sep 24, 2024 at 09:04:18AM -0700, Ian Rogers wrote:
> The name dwarf can imply libunwind support, whereas
> PERF_HAVE_DWARF_REGS is only enabled with libdw support. Rename to
> make it clearer there is a libdw connection.
While it only covers libdw, I think the idea of this macro is whether
the arch has register mappings defined in DWARF standard. So I think
it's better to keep the name for this case.
Thanks,
Namhyung