How to profile Docker running in Jetson with Nsight system

I am trying to profiling a program that is running on docker in Jetson.

I succeeded to profile and run my program with Nsight system in the Linux host.

  • first, connect to jetson with ssh
  • second, set command to 'bash launch_profile.sh ’ and start profile at nsys-ui

Docker executed and ran well at jetson.
But, the result was that all the program was encapsulated by Docker.

So, I want to know how to profile processes inside the docker.

Thank you!!

Does the solution to Nsight Systems Remote connection to Docker help with your issue?