Re: gcov/gprof on KDE

Lubos Lunak <[email protected]> Tue, 9 Nov 2004 17:03:46 +0100
Newsgroups gmane.comp.kde.devel.optimize
Message-ID <[email protected]>
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: [email protected] , [email protected]
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/