This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: profiling and dynamic libraries
- To: Theodore Papadopoulo <Theodore dot Papadopoulo at sophia dot inria dot fr>
- Subject: Re: profiling and dynamic libraries
- From: Michael Vance <michael at linuxgames dot com>
- Date: Wed, 7 Mar 2001 10:23:19 -0800
- Cc: gcc at gcc dot gnu dot org
- References: <200103071709.f27H9sg07968@mururoa.inria.fr>
On Wed, Mar 07, 2001 at 06:09:54PM +0100, Theodore Papadopoulo wrote:
> Basically, I get no information for those functions that are in the
> dlopened module (only those from the main part of the program). I
> believe (but need to check) that the same is true with dynamic
> libraries.
It is.
> 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.
Still doesn't handle threads well :/
m.
--
"Ha ha." "Ha ha." "What are you laughing at?"
"Just the horror of being alive."
-- Tony Millionaire