VTune Shows No Data Running Application with MySQL

VTune Shows No Data Running Application with MySQL

Bild des Benutzers summergirl

Hi,
I tried a C++ program connecting with MySQL and read data from the DB. I compiled such C++ program and ran VTune to launch this application.
VTune completed the analysis right away (within 1 second) and told that the Analysis is Completed Successfully. However, there's no data shows in Bottom up tab. But when I ran the application manually, it took minutes to complete.
I tried to comment the code that connect to MySQL. VTune then worked well.
So it seems there's an error with VTune running with program that connected to MySQL.

How can I fix this please?

Bestregards
summergirl

2 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers summergirl

The problem was solved. I had messed up the access of the DB for the root user. After granting the access, it works well. Maybe it will be helpful for someone like me who is not familiar with linux and mysql in the future. Best of luck!

Melden Sie sich an, um einen Kommentar zu hinterlassen.