This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Gprof and shared libraries
- From: Daniel Jacobowitz <drow at false dot org>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: Christian Sturz <linuxkaffee at gmx dot net>, gcc at gcc dot gnu dot org
- Date: Thu, 28 Dec 2006 12:31:38 -0500
- Subject: Re: Gprof and shared libraries
- References: <20061228130758.20710@gmx.net> <m3wt4cudz5.fsf@localhost.localdomain>
On Thu, Dec 28, 2006 at 09:28:30AM -0800, Ian Lance Taylor wrote:
> I don't know the answer to your question. It may be that you need to
> run "gprof /path/to/lirary.so gmon.out". I'm not sure.
Gprof has roughly no support for shared libraries. Only addresses
between _stext and _etext are recorded.
--
Daniel Jacobowitz
CodeSourcery