delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/23/16:36:10

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A6DF605.E0D7313E@lineo.com>
Date: Tue, 23 Jan 2001 13:22:13 -0800
From: jfaith AT lineo DOT com
X-Accept-Language: en,ja
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Using gprof on cygwin DLL
References: <000501c084a5$033fd880$1501a8c0 AT BRAEMARINC DOT COM>
X-MIMETrack: Serialize by Router on lnwestlake/Lineo(Release 5.0.5 |September 22, 2000) at
01/23/2001 03:28:06 PM,
Serialize complete at 01/23/2001 03:28:06 PM

Hello,
I would like to run gprof on some cygwin-based tools, like make or gcc.  I
assumed that rebuilding the cygwin DLL (as well as rebuilding other tools),
enabled for profiling with the "-pg" flag, would tell me where time was being
spent in cygwin itself.  Will this approach work, or does anyone have
experience doing this?  Is this even a reasonable thing to attempt?

I tried building cygwin1.dll with profiling enabled, but it looks like no tools
(bash, grep, etc.) can use the new dll.  I get an error dialog "The application
failed to initialize properly (0xc00000fd)."  I checked the static dependencies
for bash.exe against the new dll, and did not see any "red flags."

Any suggestions?

,
John Faith
Lineo



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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