Python
External profiler: py-spy (MIT). Sample types: cpu (default). Span links: no. Needs no code change, but needs ptrace permission on the target process. Memory profiles are not supported.
py-spy record -f raw -d 60 -o cpu.raw --pid <pid>
wtctl profile upload cpu.raw --service checkout --version 1.4.2 --format folded-f raw is the collapsed stack format. Fixture: fixtures/py-spy.raw.
Updated