I can convince Nsight Systems to record C++ and Python stacks into its .nsys-rep files, and they are displayed in nsys-ui. They are recorded on certain CUDA calls, or sampled at certain intervals. Is there a way to trigger recording of a stack trace in user code at some strategic locations? I searched NVTX, but did not find anything.
I do not believe that we currently have a way to do that. NVTX would be the logical place to add it (backtrace on NVTX marker).
@rdietrich to confirm that we do not currently support that.
Any news?
@rdietrich and @evanr , I know this isn’t something we do currently, is this a feasible feature request?
That’s correct. Nsight Systems supports callstack recording only for sampling points, CUDA and OSRT APIs.
IMO this is a feasible feature request. Nsight Systems already allows capture ranges to be started/stopped for NVTX ranges.
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.