From: Anirban S. <AS...@ze...> - 2008-03-13 17:36:57
|
>-----Original Message----- >From: opr...@li... [mailto:oprofile-list- >bo...@li...] On Behalf Of Konstantin Serebryany >Sent: Wednesday, March 12, 2008 2:55 AM >To: opr...@li... >Subject: Re: callgraph on x86_64 > >I just found out that compiling a program with -fno-omit-frame-pointer >makes the problem go away. That flag turns off -fomit-frame-pointer which is enabled of you have optimization turned on: http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Optimize-Options.html Are you compiling your code with -o in general? What happens if you simply turn off optimization (without doing anything with -fno-omit-frame-pointer)? Ani |