LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 04-26-2011, 11:42 AM   #1
Frank36
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
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.
 
  


Reply


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


All times are GMT -5. The time now is 08:40 AM.

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