Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3A6DF605.E0D7313E@lineo.com>
Date: Tue, 23 Jan 2001 13:22:13 -0800
From: jfaith@lineo.com
X-Accept-Language: en,ja
MIME-Version: 1.0
To: cygwin@sourceware.cygnus.com
Subject: Using gprof on cygwin DLL
References: <000501c084a5$033fd880$1501a8c0@BRAEMARINC.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
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii

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

