gcov/gprof on KDE

Lubos Lunak l.lunak at suse.cz
Tue Nov 9 17:03:46 CET 2004


On Tuesday 09 of 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.

 A looong time ago. Everything had to be compiled statically, it was tedious, 
and the results were significantly affected by gprof's own overhead.

 Just forget -pg and use cachegrind.

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak at suse.cz , l.lunak at kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/


More information about the Kde-optimize mailing list