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 To: Eli Zaretskii cc: djgpp AT delorie DOT com Subject: Re: gprof -e and -E options don't work In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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