This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: profiling and dynamic libraries
Michael Vance <michael@linuxgames.com> writes:
> > Has someone succeeded to do such a thing (in which case it is a bug of mine)?
> > Is this a known problem ?
> > If not, what can I do to help finding it, and eventually correct it?
>
> There is a profiling suite called 'soprof'. A search on Google will
> find it for you. It's output is minimal, but usually sufficient.
IIRC glibc 2.2 should be able to handle so profiling using gprof:
glibc NEWS:
Version 2.1
...
* An implementation of profiling shared libraries was added by Ulrich Drepper.
-Andi