LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-26-2014, 01:19 PM   #1
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Oprofile question


Is there a way to get oprofile to sample everything in the process running the specified image?

That means sample the image itself and sample .so files loaded by that image, but not the same .so files in processes running other images.

Many years ago in an older version of oprofile, I figured out how to do that (though it was completely contradictory to what the documentation said the options I was using should do). But when I upgraded oprofile to use with a newer Centos, none of that worked and I can't find anything that does.

If I use --separate=library in opcontrol, that captures the information to know which .so samples were associated with the correct image. But it seems to prevent any selection by image in capturing the data. So far more data is captured than I would like, even though (with difficulty) it is then possible to pick out the desired data from the total captured.

I'm currently using Oprofile 0.9.4 on Centos
On a different Centos system, I have Oprofile 0.9.7 (but am missing other things I would need for using it).
If there is a good reason to upgrade from 0.9.4 to 0.9.7 (or other) on the system I am using, I can convince IT to help me with that (especially if it is expected to fix the problem I'm asking about). But I don't want to ask IT to do something without knowing what to expect.

Last edited by johnsfine; 02-27-2014 at 08:12 AM.
 
  


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
Using OProfile DKSL Linux - Software 0 09-05-2012 04:37 PM
oprofile zanier Linux - Kernel 1 08-15-2012 02:23 AM
How can I use oprofile jeffwang66 Linux - General 0 04-29-2011 04:27 PM
Using oprofile on Centos Linux Unable to complete dump of oprofile data Frank36 Linux - Newbie 0 04-26-2011 12:42 PM
Using oprofile learn2bperfect Linux - Newbie 0 04-10-2009 06:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:29 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration