www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/03/08:08:52

X-Authentication-Warning: leonard.DMS.UMontreal.CA: boily owned process doing -bs
Date: Wed, 3 Feb 1999 08:05:17 -0500 (EST)
From: David Boily <boily AT DMS DOT UMontreal DOT CA>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: djgpp AT delorie DOT com
Subject: Re: gprof -e and -E options don't work
In-Reply-To: <Pine.SUN.3.91.990203133619.29547c-100000@is>
Message-ID: <Pine.GSO.3.96.990203080213.2413B-100000@leonard.DMS.UMontreal.CA>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Wed, 3 Feb 1999, Eli Zaretskii wrote:

> 
> On Tue, 2 Feb 1999, David Boily wrote:
> 
> > I can't seem to make the -e and -E otions of gprof to work.
> > 
> > I've tried with many functions by they still show up in the 
> > profile, aamof the profile is identical to the one generated
> > w/o -e or -E.
> 
> If the program you are profiling was built with DJGPP v2.02, then please 
> note that there's a bug in profiling code in libc.a, which causes gprof 
> to produce bogus results, no matter what switches do you use.
> 
> If your libc.a is not from v2.02, please post examples of profiles with 
> and without the switches you mention.
> 

I patched my libc.a w/ the patch you sent to some people. It fixed the
bug where the first function took 100% of the time but the switches 
mentioned above still won't work. As for the profile, it now makes sense.
The profiles w/ and w/o the switches are identical.

Thank you
David


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019