Re: [RFC PATCH v3 0/3] perf: sparc64 user regs and stack dump, with arch hooks

From: Stian Halseth

Date: Thu Sep 24 2026 - 04:24:33 EST


Hi Magnus,

On Thu, 2026-09-24 at 01:10 +0200, Magnus Lindholm wrote:
>
> Hi Stian,
>
> I tested v3 on real hardware. I haven't noticed any regressions.
> I built tools/perf from this series and tested the new functionality
> with software cpu-clock events.
>
> Basic perf stat/record and the existing frame-pointer callchain mode
> worked normally.
>
> PERF_SAMPLE_REGS_USER also worked, with perf successfully recording
> and decoding the SPARC register set.
>
> I then tested:
>
>   perf record -e '1:0:u' -F 99 --call-graph dwarf,8192 ...
>
> This recorded 443 samples with PERF_SAMPLE_REGS_USER and
> PERF_SAMPLE_STACK_USER, using the full 0x7ffff register mask and an
> 8192-byte stack dump. perf script and perf report were both able to
> unwind the resulting callchains, and no samples were reported lost.
>
> I haven't tested 32-bit compat tasks or hardware-cycle sampling.
>
> Tested-by: Magnus Lindholm <linmag7@xxxxxxxxx>
>
> Thanks,
> Magnus

Thanks for testing,
Stian

Attachment: signature.asc
Description: This is a digitally signed message part