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

Bug 319446

Summary: GProf does not show in Editor Selection
Product: [Tools] Linux Tools Reporter: Enrique Herrera <EnriqueH73>
Component: GProfAssignee: Xavier Raynaud <xavier.raynaud>
Status: CLOSED WONTFIX QA Contact: Xavier Raynaud <xavier.raynaud>
Severity: minor    
Priority: P3    
Version: 0.5   
Target Milestone: 0.8.0   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:

Description Enrique Herrera CLA 2010-07-09 18:55:58 EDT
Eclipse Galileo Sp2
Java 1.5.xx

Default editor gprof.out come up as Binary Editor.  When tried to open with other editor, the editor selection did not have GProf in it.
Comment 1 Andrew Overholt CLA 2010-07-12 10:34:41 EDT
Xavier, is the BREE correct for the gprof plugin?
Comment 2 Xavier Raynaud CLA 2010-07-13 08:18:46 EDT
Hi,

You're right: "gprof.out" is not recognized a gprof input.
For now, only "gmon.out", "gmon.sum", and a few other filenames are recognized.


You can try to rename you file, or, better, to patch the file "org.eclipse.linuxtools.gprof/plugin.xml" in order to add "gprof.out" to the list of filenames recognized by gprof plugin.

Xavier
Comment 3 Xavier Raynaud CLA 2011-01-04 09:48:34 EST
How do you obtained the "gprof.out" file ?
Most compilers generate "gmon.out", not "gprof.out".

Moreover, in some gprof man page, you can see:
  " gprof >gprof.out     # Name the report whatever you like "
In this case, gprof.out is *not* the gmon file, but the textual result of the parsing of this gmon file.