Hi,
I'm trying to do some profiling before add OpenMP constructs, however, gprof's output is showing empty. I have set both CXXFLAGS and LDFLAGS to include the -pg flag, don't know what is causing the profiler to miss the function calls:
index % time self children called name
0.00 0.00 1/1 __libc_csu_init [15]
[9] 0.0 0.00 0.00 1 _GLOBAL__sub_I_main [9]
-----------------------------------------------
These are the only two calls captured and they have no practical meaning. Anyone knows what is happening?
Best,
Júlio.