Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316293 - gprof window empty.
Summary: gprof window empty.
Status: CLOSED DUPLICATE of bug 304163
Alias: None
Product: Linux Tools
Classification: Tools
Component: GProf (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Xavier Raynaud CLA
QA Contact: Xavier Raynaud CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-09 09:48 EDT by Martin Fiers CLA
Modified: 2010-06-10 07:41 EDT (History)
0 users

See Also:


Attachments
Empty gprof window (35.47 KB, image/png)
2010-06-09 09:48 EDT, Martin Fiers CLA
no flags Details
The binary (1.46 MB, application/octet-stream)
2010-06-09 11:38 EDT, Martin Fiers CLA
no flags Details
gmon.out (119.62 KB, application/octet-stream)
2010-06-09 11:39 EDT, Martin Fiers CLA
no flags Details
factorial (binary file) (13.87 KB, application/octet-stream)
2010-06-09 11:42 EDT, Martin Fiers CLA
no flags Details
gmon.out (437 bytes, application/octet-stream)
2010-06-09 11:42 EDT, Martin Fiers CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***