Nsight cannot enable gpu context switch

Hi everyone,

I’m testing nsight interactive mode in docker on centos 7, my nsight version is 2021.1, cuda version is 10.2, driver is 460
everything is ok but always cannot enable gpu context switch
I launch my application by

nsys launch <my application>

and when i want to collect the profile

nsys start --gpuctxsw
nsys stop

and without any other hints, the collection is finished successfully but gpu context switch is not collected.

I found that collecting gpuctxsw should have root permission, is this the problem?

I suspect that that is correct.

If you try “nsys status -e” you should get more information about your system status.