mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-16 11:49:59 -04:00
A NX2NAVI_PROFILE profile needed the link map to name its Rips, and the launcher's builds keep none. A MinGW link keeps the COFF symbol table in the exe, so prof_sampler_write now reads it (runtime/prof_syms.c, plain file reads) and appends `sym <address> <function>+<offset>` for every exe address in the Rip and chain lists. NX2NAVI_PROFILE_REPLAY=1 samples only the replay thread: with NX2NAVI_REPLAY_ASYNC=1 the render thread spends 98% of a 37 ms frame waiting, and the replay thread (22 ms a frame recording Vulkan commands) is the one to look at. (cherry picked from commit 9d3126ca780d7f0f0b91468d42b8ee70572747c8) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 KiB
25 KiB