Re: [PATCH] PR32930 backends/: guard asm/perf_regs.h include

2025-05-06 Thread Serhei Makarov
On Tue, May 6, 2025, at 11:24 AM, Aaron Merey wrote: > So if the arch is not x86_64 or i386, then PERF_FRAME_REGISTERS_* will > be 0 and this signals to the backend to skip any unwinding. LGTM. Yep, will expand the #ifdef as more architectures are added. Committed. -- All the best, Serhei

Re: [PATCH] PR32930 backends/: guard asm/perf_regs.h include

2025-05-06 Thread Aaron Merey
Hi Serhei, On Mon, May 5, 2025 at 12:26 PM Serhei Makarov wrote: > > asm/perf_regs.h is an arch-specific linux include, not present on > architectures like hppa and m68k that lack perf_events support. > > Only one place we need to fix; others already guard the include by > architecture, or use ar

[PATCH] PR32930 backends/: guard asm/perf_regs.h include

2025-05-05 Thread Serhei Makarov
asm/perf_regs.h is an arch-specific linux include, not present on architectures like hppa and m68k that lack perf_events support. Only one place we need to fix; others already guard the include by architecture, or use architecture-independent headers (e.g. linux/perf_events.h). * backends/libebl_