ERR_NVGPUCTRPERM when using nv-nsight-cu-cli for profilling

as described here: NVIDIA Development Tools Solutions - ERR_NVGPUCTRPERM: Permission issue with Performance Counters | NVIDIA Developer. I tried
modprobe -r nvidia_uvm nvidia_drm nvidia_modeset nvidia-vgpu-vfio nvidia, it comes out bash: modprobe: command not found,

sudo also does not work.

cuda: 11.3
driver: 510.54