Re: gcov/gprof on KDE
Josef Weidendorfer <[email protected]> Wed, 10 Nov 2004 09:49:59 +0100
| Newsgroups | gmane.comp.kde.devel.optimize |
|---|---|
| Message-ID | <[email protected]> |
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 > [email protected] > https://mail.kde.org/mailman/listinfo/kde-optimize