* How to profile DLL built by Cygwin
@ 2016-03-30 12:59 John Smith
2016-03-30 16:54 ` Marco Atzeri
2016-03-30 20:16 ` Mark Geisert
0 siblings, 2 replies; 3+ messages in thread
From: John Smith @ 2016-03-30 12:59 UTC (permalink / raw)
To: cygwin
First, I hope that I am using the "mailing list" system correctly...
if not, bear with me
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.
A.
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to profile DLL built by Cygwin
2016-03-30 12:59 How to profile DLL built by Cygwin John Smith
@ 2016-03-30 16:54 ` Marco Atzeri
2016-03-30 20:16 ` Mark Geisert
1 sibling, 0 replies; 3+ messages in thread
From: Marco Atzeri @ 2016-03-30 16:54 UTC (permalink / raw)
To: cygwin
On 30/03/2016 14:58, John Smith wrote:
> First, I hope that I am using the "mailing list" system correctly...
> if not, bear with me
>
Hi John,
it is the right place.
> 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.
>
> A.
I had the impression you need to have also the executable built
using -g -pg.
I could be wrong.
Regards
Marco
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to profile DLL built by Cygwin
2016-03-30 12:59 How to profile DLL built by Cygwin John Smith
2016-03-30 16:54 ` Marco Atzeri
@ 2016-03-30 20:16 ` Mark Geisert
1 sibling, 0 replies; 3+ messages in thread
From: Mark Geisert @ 2016-03-30 20:16 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-03-30 20:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-30 12:59 How to profile DLL built by Cygwin John Smith
2016-03-30 16:54 ` Marco Atzeri
2016-03-30 20:16 ` Mark Geisert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).