Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-26-2011, 11:42 AM   #1
LQ Newbie
Registered: Mar 2011
Location: Massachusetts
Distribution: Centos 5.5
Posts: 1

Rep: Reputation: 0
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
opreport -l /home/frankc/DQTTest5/MatchUpLib/lirh5g_deb/

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/
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
oprofile on a daemons app.. ufmale Linux - Newbie 0 07-20-2010 01:21 PM
Installing oprofile on SLES hofa Linux - Server 5 05-10-2009 08:42 AM
Using oprofile learn2bperfect Linux - Newbie 0 04-10-2009 05:12 AM
Centos 4.5 Unable to uncompress linux kernel for Oprofile! inspiredbymetal Red Hat 1 05-29-2007 09:57 AM
oprofile & kernel phoenix7 Linux - Software 0 08-07-2005 09:08 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration