C/C++ with debug info

https://github.com/mstange/samply

Note: --presymbolicate is not in a stable release yet. Use samply record’s web server for symbolication.

samply record -p <PID> -P <port>

Symbolication requires that the samply process and target process share the same mounts, so in case of containers you may need to docker exec into them first.