No CPU samples in docker on Jetson AGX

Hi,

I’m currently trying to profile an application that runs in a docker container using nsys. When I run nsys from within docker, there are no CPU samples (the CPU row doesn’t even appear in the profile). If I profile the exact same application outside of docker, the CPU samples appear. Anything I could do to fix this?

For profiles collected inside docker the following line appears on the diagnostics page: “Scheduling information is absent. The thread activity is deduced based on OS runtime libraries traces. This is inacurrate and does not take into account asynchronous interrupts and exception faults.”

nsys version: NVIDIA Nsight Systems version 2021.2.3.8-73c8c79
L4T version: R32
Kernel: 4.9.253-tegra

sudo nsys status -e
Timestamp counter supported: Yes
Sampling Environment Check
Linux Kernel Paranoid Level = -1: OK
Linux Distribution = Ubuntu
Linux Kernel Version = 4.9.253-tegra: OK
Linux perf_event_open syscall available: OK
Sampling trigger event available: OK
Intel(c) Last Branch Record support: Not Available
Root privileges: Yes
Kernel module: Available
Sampling Environment: OK

Same inside docker.

Thanks!

@Andrey_Trachenko