What does this error mean for gprof
? I'm running gcc -pg
.
As this question is the top result on Google :
You probably ran gprof the wrong way compile with the -pg flag execute your binary it will also output a "gmon.out" file
then run :
gprof {executable} gmon.out > profile
the "profile" file should contain the results of gprof