LinuxQuestions.org
Review your favorite Linux distribution.
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-10-2009, 05:12 AM   #1
learn2bperfect
LQ Newbie
 
Registered: Feb 2009
Distribution: Redhat
Posts: 6

Rep: Reputation: 0
Using oprofile


Iam trying to investigate why my executable main.exe is taking high CPU usage.

When I run oprofile, I get below output:

CPU: P4 / Xeon, speed 2793.01 MHz (estimated)
Counted GLOBAL_POWER_EVENTS events (time during which processor is not stopped) with a unit mask of 0x01 (mandatory) count 100000
samples % image name symbol name
752022 94.8501 anon (tgid:8704 range:0x9df000-0x9e0000) (no symbols)
37310 4.7058 main.exe getNumbers(char*, char*)
2740 0.3456 main.exe .plt
222 0.0280 main.exe seeThrough(int, int, int, int, char*)



Here anon takes almost 100%.
Can someone explain me what is this anon. And how can I find why my executable takes high CPU Usage.
 
  


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: sample files r not created!!! kernel -2.6.16 raklo Linux - Kernel 0 09-26-2007 03:59 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 04:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration