Search code examples
c++linuxeclipseprofilingprovisioning-profile

gprof and eclipse error


I am trying to do this step in here

open gmon.out file in Eclipse

But the gmon.out file generated looks like that and does't open what I am doing wrong, I tried many times and restarted Eclipse , Cleaned and rebuilt. etc.. but nothing works

My code is just hello world output and it is working fine and I can see the content of the gmon.out file using the console command

gprof bel gmon.out > output 

But I can't see it using Eclipse enter image description here


Solution

  • Just install the latest version of Eclipse, If you are using Ubuntu and Eclipse installer didn't find oracle Java, Try this link