Profiling tool for Deepstream python samples

My platform is GPU and I am using DeepStream 6.1 with 8.2.5 TensorRT. Driver Version: 510.85.02.

Hi everyone, I want to profile my python ( code namely modified variant of deepstream python sample).
I know NVIDIA provide profiling tool (NVIDIA Nsight tool). link
The Problem is I could not use it for my Deepstream python codes. I tried pyinstrument, it is not helpful either. ( it doesnot show useful information).

There is no update from you for a period, assuming this is not an issue anymore.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Please refer to NVTX/python at dev · NVIDIA/NVTX · GitHub
NVIDIA Tools Extension API: An Annotation Tool for Profiling Code in Python and C/C++ | NVIDIA Technical Blog