Hi Serhei,

On Mon, 2025-10-20 at 14:04 -0400, Serhei Makarov wrote:
> On Mon, Sep 8, 2025, at 1:38 PM, Mark Wielaard wrote:
> 
> > Could you also take a peek at the Debian workaround for dealing with
> > arches that don't support perf?
> > https://salsa.debian.org/toolchain-team/elfutils/-/commit/2cd08fdcfcaf15d6a2b7b085faedadfc94a4729c
> > I am not sure just listing all the arches that don't support perf is
> > really the way to go. But maybe it is the best there is?
> >
> The other option is to keep the definition restricted to _linux_ and x86 / 
> x86_64 (the arches where perf register handling is implemented), then extend 
> the list of arches as we implement support for other arches.

Yes, that seems a better way forward.
Or maybe it could even be a configure set HAVE_PERF_REGS?

Thanks,

Mark

Reply via email to