I’m trying to profile the detect.py code of Yolov5s, but the Nsight System reports two errors in the nsys-rep results as follows:
- AnalysisService: failed to start event source … [QuadDCommon::tag_message*] = LinuxPerf runtime failure;
- Unable to configure the collection of CPU IP samples, backtraces, and/or scheduling data.
How can I solve the problem? Thank you!
Can you give me more information about the system/OS you were running on?
Can you give me the results from running the command line “nsys status -e” - that will let me know if your permissions were set correctly.
And then we’ll go from there.
The OS is: Ubuntu 20.04.3 LTS;
The results of running “nsys status -e” are:
Timestamp counter supported: Yes
Sampling Environment Check
Linux Kernel Paranoid Level = 4: OK
Linux Distribution = Ubuntu
Linux Kernel Version = 5.15.0-57-generic: OK
Linux perf_event_open syscall available: Fail
Sampling trigger event available: Fail
Intel(c) Last Branch Record support: Not Available
Sampling Environment: Fail
It seems that the permissions are not correct, but I’m not sure how to set them.
There are features which are unavailable if your OS paranoid settings are to high. You can find information on how to set those (and which things require them) at Installation Guide :: Nsight Systems Documentation (the forum UI changes that to look like a regular link, but in actuality it links to the exact page).