# From AURA-V5 src/world_model/utils/trace_module_share.py (commit 41007db), adapted for Spellcast3D: # - REPO_MARKERS name Spellcast3D's folders, with / and with \ (torch's python_function names carry Windows paths # here), instead of AURA's; # - the usage line runs it as spellcast.profiling.trace_module_share; # - main()'s note for a trace without Python frames: for request_profiler's trace (it has a