This is the mail archive of the
libc-hacker@cygnus.com
mailing list for the glibc project.
Re: gprof and LinuxThreads
- To: Zack Weinberg <zack@rabi.columbia.edu>
- Subject: Re: gprof and LinuxThreads
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 14 Jan 1999 16:00:56 -0800
- Cc: Geoff Keating <geoffk@ozemail.com.au>, Xavier.Leroy@inria.fr, libc-hacker@cygnus.com
- References: <199901142330.SAA22984@rabi.phys.columbia.edu>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
Zack Weinberg <zack@rabi.columbia.edu> writes:
> A first step to solving this problem would be: if gmon.out already exists,
> add the figures for the current run to that file instead of overwriting it.
> (Like doing gprof -s in between runs). Then you could run the program many
> times and get overall statistics.
Well, this is what I do in LD_PROFILE. It's another change which
certainly is useful. It will require major changes and then we should
not stop there. I want to a have a profiling mechanism which also
works in PIC code, with shared objects etc.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------