LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-06-2011, 12:48 AM   #1
ebsunny
LQ Newbie
 
Registered: Jun 2011
Posts: 1

Rep: Reputation: Disabled
unable to profile with oprofile


Hi,


I am using cent os 5.5 .

Linux localhost.localdomain 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:03:03 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

I am trying to profile my project(server) with oprofile written in c++.

So, for that i am using eclipse Helios Service Release 2 and it has a plugin for oprofile. I have installed the plugin through eclipse. but when i try to profile with oprofile a message bos pop up saying that,

"An error has occurred. See error log for more details.
java.lang.ExceptionInInitializerError"



I have also tried with eclipse plugin gprof. It creates the gmon.out file but unfortunately it did not take any sample. It can only show the number of times qa function is called but it couldnt show the duration of time a function executes. Can pls anyone tell me why this is happening ?


can anyone tell me if cent os kernel support profiling with oprofile.


My project is a server written in c++. It has shared libraries and it is multithreaded.It is not much efficient. So i am trying to find out where it is spending much time and where it is overloading the cpu.

It would be a gr8 help if anyone can tell me how i can profile my server with oprofile or gprof in eclipse in a proper way.I am prefering eclipse because it shows the gmon.out or the output of oprofile in much more understandable way


Thank you
 
  


Reply



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 on Centos Linux Unable to complete dump of oprofile data Frank36 Linux - Newbie 0 04-26-2011 11:42 AM
Unable to reinstall same user profile in Ubuntu lazylogic Linux - Newbie 3 02-12-2009 05:09 PM
Centos 4.5 Unable to uncompress linux kernel for Oprofile! inspiredbymetal Red Hat 1 05-29-2007 09:57 AM
Samba 2.2.8 - Unable to locate roaming profile takatam Linux - Hardware 0 08-09-2004 03:44 PM
Samba 3.0 unable to load Profile jok1 Linux - Networking 0 10-07-2003 07:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:52 AM.

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