gcov/gprof on KDE
Karl Vogel
karl.vogel at seagha.com
Tue Nov 9 17:22:09 CET 2004
Lubos Lunak <l.lunak at suse.cz> wrote in
news:200411091703.46245.l.lunak at suse.cz:
> 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.
But cachegrind is even slower and afaik it can't generate profile feedback
files for gcc.
Maybe OProfile / (virtual) PerfCtr might be useful.. will have a look at
that.
More information about the Kde-optimize
mailing list