testing icc... i found that if i add -pg to my CFLAGS, the app segfaults when i run it. if i remove the -pg, all is well again but i cannot profile my code. has anyone else observed this behavior?
HiI had used "-O2/-O3 -pg" with icc and it worked with gprof (single threaded apps). Can you please let me know what are the other options you are providing to the compiler ? Also, is your application single or multithreaded ?The best way to profile, is however, by using VTune Analyzer.RegardsBarnali