Python Backtraces with in NSYS data, evaluation with Python

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

@jkreibich to respond

Any progress? I also studied User Guide — nsight-systems 2025.1 documentation (the schema reference) to quite some depth, but dont have a solution.

@pkovalenko

Any hope for a reply? How can I get progress with this?

I am so sorry, I’ll also ping on another channel.

@Guy_Sz for python

1 Like