On Thu, Oct 22, 2026, at 3:44 AM, WANG Xuerui wrote:
> Hi,
>
> This patchset ports the new eu-stackprof tool to LoongArch, and adds an
> unwinder heuristic for recovering samples whose initial frames are PLT
> calls (LoongArch linkers do not synthesize FDEs for .plt). It has been
> tested on a Loongson 3B6000 box running Linux 7.2: I manually verified
> the output of eu-stackprof to contain real, valid profiling data.
>
> WANG Xuerui (4):
>   backends/: fix typo in loongarch copyright headers
>   backends/: reduce loongarch frame_nregs to 64
>   backends/: support stack profiling on loongarch
>   backends/: support fallback loongarch unwinding for FP-less or PLT
>     code

Thank you for the work, as a follow-up I am working on a patchset
to clean up those case statements in dwflst_sample_frame.c
and expose the constants properly in backends/.

For now I've pushed to users/serhei/try-libdwfl-stacktrace-for-0.198
cf 
https://sourceware.org/cgit/elfutils/commit/?h=users/serhei/try-libdwfl-stacktrace-for-0.198&id=aefe389d74abacd35333c0a490cc05f8e1172814
and 
https://sourceware.org/cgit/elfutils/commit/?h=users/serhei/try-libdwfl-stacktrace-for-0.198&id=6656a1bbb23045cb4698952e810af8720237a2f3

After I'm confident with testing on the arches available to me
& double-checked that I at least moved the constants correctly for the others
(the crucial files to compare are dwflst_sample_frame.c and 
backends/libebl_PERF_FLAGS.h)
I plan to add my ppc and s390 patches.

-- 
All the best,
    Serhei
    https://serhei.io

Reply via email to