Re: __cyg_profile_func_enter is not called with correct address ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



robert song wrote:
> Hello, everyone.
> It is another question, now I used kview to test, by rebuilding it in the
> kdegraphics-3.5.4 with -finstrument-functions option. But I found that in
>  libkdeinit_kview.so, one function can have multiply profiling entry, for
>  example, kdemain function (located in kdegraphics-3.5.4/kview/main.cpp)
>  has three _cyg_profile_func_{enter,exit} pairs.
> 
> the return address after these entries are located at:
> kdegraphics-3.5.4/kview/main.cpp:39
> /usr/lib/qt-3.3/include/qapplication.h:501
> kdegraphics-3.5.4/kview/main.cpp:45
> 
> I don't know why this happens, and can anyone help me ?

It's probably because functions have been inlined.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux