Using oprofile on Centos Linux Unable to complete dump of oprofile data
Hi, I have two questions.
1. I installed oprofile 0.9.4 on Centos Linux 5.5 this past Saturday. Since then I have been trying to learn how to use oprofile 0.9.4 on Centos Linux 5.5. If I follow the following steps running as root, opcontrol --shutdown opcontrol --callgraph=7 opcontrol --image=/home/frankc/DQTTest5/MatchUpTest/lirh5g_deb/Mary48.exe opcontrol --start /home/frankc/DQTTest5/MatchUpTest/lirh5g_deb/Mary48.exe --run opcontrol --dump opreport -c > profile_info.txt or opreport -l /home/frankc/DQTTest5/MatchUpLib/lirh5g_deb/libmdMatchup.so I obtain the following warning: warning: the last modified time of the binary file does not match that of the sample file for /home/frankc/DQTTest5/MatchUpLib/lirh5g_deb/libmdMatchup.so Either this is the wrong binary or the binary has been modified since the sample file was created. warning: the last modified time of the binary file does not match that of the sample file for /home/frankc/DQTTest5/MatchUpTest/lirh5g_deb/MatchUpAccurate.exe I am wondering how to prevent this warning message from occuring because it indicates our profiling results may be incorrect. 2. My second question is : when I use opcontrol --start --session-dir=/home/frankc/DQTTest/Mary5Test and profile my application using /home/frankc/DQTTest5/MatchUpTest/lirh5g_deb/Mary48.exe --run, I encounter an error when I do opcontrol --dump. The error is: Unable to complete dump of oprofile data: is the oprofile daemon running? Why is the oprofile daemon stopping when I use opcontrol --start --session-dir=/home/frankc/DQTTest/Mary5Test rather than when I use oprofile --start. I checked the permissions on /home/frankc/DQTTest/Mary5Test and it is drwxrwxrwx. Thank you Thank you. |
All times are GMT -5. The time now is 05:23 PM. |