Re: [Patch v5 00/19] Support SIMD/eGPRs/SSP registers sampling for perf
From: Ravi Bangoria
Date: Mon Dec 15 2025 - 23:42:53 EST
Hi Dapeng,
> While the hardware solution remains preferable due to its lower
> overhead and higher accuracy, this software approach provides a
> viable alternative.
Lower accuracy in the software approach is due to the delay in an NMI
delivery which will make the SIMD data misaligned a bit? Something like:
insn1
insn2 -> Overflow. RIP, GPRs captured by PEBS and NMI triggered
insn3
insn4
insn5 -> NMI delivered here, so SIMD regs are captured here?
insn6
Am I interpreting it correctly?
Thanks,
Ravi