delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/03/30/16:16:30

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=QXTiAGRAEE+e1BEi
8sLkCb4fsJPSMF7y4OsAYT+TluN2bstBNzjblPL+gs8+Ed/dle/B6duJxVO9xPhh
0MZdWaRgt+NNjS9UlCzmTvegrSC+zNP1pqq9NZf9QNZdbdLVh5Ln2wivQ9XAgfp0
4U90KXX2OKDPzfAP2Md61YgkMAk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=H5N8U5potCR1X9zDrqoHQB
tiDX4=; b=GBiqwQ5VW2oqhHhwWtzij7WzliE4PTp3GF55BDAKstRtarRloy24h5
D2YMj7e8ZBEbEUTzlGQlUyUkJlzfDWYnxQNYCGXvAh7W9Y/A4omHMVeSAc1laJCc
QfjeFPQIM4X8qG4iq+ziwim8iwWSnUSZDnDi7vFLH9P9pCsVoae8U=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*r:ip*192.168.1.100, H*RU:!192.168.1.100!, Hx-spam-relays-external:!192.168.1.100!
X-HELO: m0.truegem.net
Subject: Re: How to profile DLL built by Cygwin
To: cygwin AT cygwin DOT com
References: <CAM6w8J64zyAFJjrVk7sYR+TR0gcP00QopU_uNTzBzWEHb9abqA AT mail DOT gmail DOT com>
From: Mark Geisert <mark AT maxrnd DOT com>
Message-ID: <56FC340D.5050507@maxrnd.com>
Date: Wed, 30 Mar 2016 13:16:13 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39
MIME-Version: 1.0
In-Reply-To: <CAM6w8J64zyAFJjrVk7sYR+TR0gcP00QopU_uNTzBzWEHb9abqA@mail.gmail.com>

John Smith wrote:
> I have an executable using a DLL. The DLL is built using -g -pg.
> Running the executable, however, does not produce a gmon.out. file.
> Cygwin version is 1.7.33. Thanks in advance for any suggestions.

Cygwin's profiling facility currently only supports one address range: the 
address range of the executable's .text segment.  DLLs live in other address ranges.

Currently the only way to profile DLL code on Cygwin is to temporarily make the 
DLL a static library, e.g. libfoo.a, and link it into the executable's build.
HTH,

..mark

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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