Search code examples
c++gprofprofilingxlc

gprof issue with output


The question is: Why is my gprof output only displaying "Index by function name" ?

I have compiled my application with the support of this tutorial : http://ececmpsysweb.groups.et.byu.net/cmpsys.2004.winter/citizenship/Bryan_Wheeler/Profiling_Tutorial.html

So my application is compiled with -p -pg

After i run my application with ./application it will create the mon.out file, but this only holds the Index by function name, which is kinda strange,

Has anybody had the same expirience or knows what iam doing wrong here.

Thanks, Alcatros


Solution

  • The Problem was that putty was somehow hiding the output, after opening vi and exiting it, it would actually show the output from the program.