Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316293

Summary: gprof window empty.
Product: [Tools] Linux Tools Reporter: Martin Fiers <martin.fiers>
Component: GProfAssignee: Xavier Raynaud <xavier.raynaud>
Status: CLOSED DUPLICATE QA Contact: Xavier Raynaud <xavier.raynaud>
Severity: blocker    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Empty gprof window
none
The binary
none
gmon.out
none
factorial (binary file)
none
gmon.out none

Description Martin Fiers CLA 2010-06-09 09:48:37 EDT
Created attachment 171526 [details]
Empty gprof window

I tried to make a profile graph. I ran a program compiled with -pg. The gmon.out file is generated.
Writing in a terminal: gprof [executable] ,gives the desired output.

But the gprof window in Eclipse is empty.
The next image gives an example of how the window looks like (don't know if this is relevant) : http://imgur.com/Xpvjr.png. I started from the project found on
http://wiki.eclipse.org/images/7/77/Eclipse-oprofile_testproj_factorial.zip
(which was used in a tutorial for oprofile).

I also tried other projects, but it doesn't work.

I am running ubuntu 10.04, using linuxtools-Update-incubation-0.5.0.zip on Galileo with CDT..

Thx in advance. How are we notified if a bug gets resolved?

Kind regards
Comment 1 Xavier Raynaud CLA 2010-06-09 09:56:44 EDT
Hi,

Can you attach the binary file and the gmon.out,please ?

Many thanks
Comment 2 Andrew Overholt CLA 2010-06-09 09:58:54 EDT
You'll get email from traffic on this bug and when it is fixed it'll end up in a nightly build and then the next released build.  We have a release that will be finished from our side today (0.6) so a fix for this will likely end up in our 0.6.1 release.
Comment 3 Martin Fiers CLA 2010-06-09 11:38:40 EDT
Created attachment 171543 [details]
The binary

Binary. gmon.out is following
Comment 4 Martin Fiers CLA 2010-06-09 11:39:28 EDT
Created attachment 171544 [details]
gmon.out

corresponding gmon.out file.
Comment 5 Martin Fiers CLA 2010-06-09 11:42:08 EDT
Created attachment 171545 [details]
factorial (binary file)
Comment 6 Martin Fiers CLA 2010-06-09 11:42:30 EDT
Created attachment 171546 [details]
gmon.out

The gmon.out-file generated by factorial.
Comment 7 Xavier Raynaud CLA 2010-06-10 07:41:52 EDT
This bug is a duplicate of https://bugs.eclipse.org/bugs/show_bug.cgi?id=304163.

It is already fixed. The fix will be available in 0.6 release.

*** This bug has been marked as a duplicate of bug 304163 ***