Profiling Fails with Prompt "Unable to get ai_core_pmu_events data."
Symptom
A prompt "Unable to get ai_core_pmu_events data." is reported when the Profiling command is executed, as shown in Figure 7-45.
In addition, check the error in "~/.mindstudio/profiler/log/collection.log", as shown in Figure 7-46.
Possible Cause
According to the log message, the possible cause is as follows:
The Toolkit and Driver versions installed in the development environment do not match those installed in the operating environment.
Solution
Perform the following operation:
Use the matched Toolkit and Driver both in the development environment and operating environment. Then run the profiling command again.