On Tue, Aug 10, 2010 at 9:21 AM, Andrew Stubbs ams@codesourcery.com wrote:
[...]
The obvious answer is to rebuild both firefox and libc with -pg.
Maybe Ubuntu already has a glibc package build for profiling?
I believe there may be a profiling C library already in the archive, but most other libraries won't have a pre-existing profiling build ... but my memory is a bit hazy on that. Try apt-cache search :)
I seem to remeber that -pg does not work usefully with shared libraries... is this (still) the case?
Cheers ---Dave