I am writing a custom script to evaluate nsys-rep data. I am using the scripts in User Guide — nsight-systems 2025.1 documentation as templates. The data contains sampled Python backtraces - I can see them in nsys-ui. However, I have no idea on how to retrieve them in the Python script. I can see that the corresponding entries in the strings table exist, but I have no idea where they are references. It appears NVTX_EVENTS is related (event type 75).
How do I decode Python Backtrace Data using Python? A code example would be most welcome