Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Linux Tools Project » create gmon.out (gprof) witin Eclipse(Linux Tools - GProf User Guide)
create gmon.out (gprof) witin Eclipse [message #549178] Sun, 25 July 2010 21:56 Go to next message
Peter Liu is currently offline Peter Liu
Messages: 12
Registered: July 2009
Junior Member
How could I create the gmon.out file *within Eclipse*? I was reading the GProf User Guide. I clicked on the C project properties and inserted -pg under Miscellaneous. When I clicked "buld all", the output in the console window showed that the gcc compiler has not used the -pg option. Any suggestion will be appreciated.
Re: create gmon.out (gprof) witin Eclipse [message #549691 is a reply to message #549178] Tue, 27 July 2010 15:03 Go to previous messageGo to next message
Francois Chouinard is currently offline Francois Chouinard
Messages: 28
Registered: July 2009
Junior Member
Project properties > C/C++ Build > Settings > GCC C Compiler > Debugging

[ ] Set the "generate gprof information (-pg)

Re: create gmon.out (gprof) witin Eclipse [message #550058 is a reply to message #549691] Thu, 29 July 2010 00:59 Go to previous messageGo to next message
Peter Liu is currently offline Peter Liu
Messages: 12
Registered: July 2009
Junior Member
Thank you! I've got gmont.out created in the Eclipse project.
Re: create gmon.out (gprof) witin Eclipse [message #569809 is a reply to message #549178] Tue, 27 July 2010 15:03 Go to previous messageGo to next message
Francois Chouinard is currently offline Francois Chouinard
Messages: 28
Registered: July 2009
Junior Member
Project properties > C/C++ Build > Settings > GCC C Compiler > Debugging

[ ] Set the "generate gprof information (-pg)
Re: create gmon.out (gprof) witin Eclipse [message #569820 is a reply to message #569809] Thu, 29 July 2010 00:59 Go to previous message
Peter Liu is currently offline Peter Liu
Messages: 12
Registered: July 2009
Junior Member
Thank you! I've got gmont.out created in the Eclipse project.
Previous Topic:create gmon.out (gprof) witin Eclipse
Next Topic:oprofile problem: "No profiling data is on the system"
Goto Forum:
  


Current Time: Fri Oct 31 06:38:33 GMT 2014

Powered by FUDForum. Page generated in 0.01985 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software