Hi folks,
I’m doing some performance profiling of on the Simulator using Valgrind + Callgrind + KCachegrind. This is working fine in terms of collecting data, but I’m running into friction when trying to map hot callgraph nodes back to Playdate SDK symbols.
In Callgrind/KCachegrind I’m seeing a lot of hot frames coming from the SDK itself. I know the SDK ships with symbols.db, which contains address ranges for internal SDK functions. Is there a simple workflow for mapping profiler output back to symbols.db?
I’m not debugging crashes here. This is purely for performance profiling and understanding SDK hotspots.
Thanks!
Edit: Let me also add, if it’s helpful, here is the section of the dump that I’m looking in to:
Where I know that the first function call into the SDK is playdate.sprite.drawSprites