gcov/gprof on KDE

Josef Weidendorfer Josef.Weidendorfer at gmx.de
Wed Nov 10 09:49:59 CET 2004


On Tuesday 09 November 2004 16:54, Karl Vogel wrote:
> Has anyone ever compiled and run KDE with profiling? If I try it on my
> system I get an error at linktime stating atexit() is undefined.. I'm
> wondering if I broke my GCC or if there is something else I'm doing wrong.
>
> ie. added '-pg' to CXXFLAGS / CFLAGS

GProf has problems with shared / dlopened libs.

Better use profile tools which don't need any change for the build/compile 
process. Like OProfile (system wide sampling using hardware performance 
counters) or Callgrind (using Valgrinds CPU simulation).

Josef

>
> _______________________________________________
> Kde-optimize mailing list
> Kde-optimize at kde.org
> https://mail.kde.org/mailman/listinfo/kde-optimize


More information about the Kde-optimize mailing list