Re: gcov/gprof on KDE
Karl Vogel <karl.vogel-/[email protected]> Tue, 9 Nov 2004 16:22:09 +0000 (UTC)
| Newsgroups | gmane.comp.kde.devel.optimize |
|---|---|
| Message-ID | <[email protected]> |
Lubos Lunak <[email protected]> wrote in news:[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. 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.