FWIW I am seeing this build issue too on ARM64 and these changes have now landed in the mainline :-(
So would be great to get this fixed or reverted.
Jon
Hi Jon,
I probably should have updated this thread, but the fix is here:
https://lore.kernel.org/linux-perf-users/20250417-james-perf-fix-gen- syscall-v1-1-1d268c923901@xxxxxxxxxx/