delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-developers-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-developers-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin-developers/> |
List-Post: | <mailto:cygwin-developers AT cygwin DOT com> |
List-Help: | <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-developers-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin-developers AT cygwin DOT com |
MIME-Version: | 1.0 |
Subject: | building a profilable cygwin1.dll |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.5762.3 |
content-class: | urn:content-classes:message |
Date: | Fri, 24 May 2002 21:33:05 +1000 |
Message-ID: | <FC169E059D1A0442A04C40F86D9BA7600C615B@itdomain003.itdomain.net.au> |
X-MS-Has-Attach: | yes |
X-MS-TNEF-Correlator: | |
From: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
To: | <cygwin-developers AT cygwin DOT com> |
Cc: | <cygwin-patches AT cygwin DOT com> |
Note-from-DJ: | This may be spam |
This is a multi-part message in MIME format. ------_=_NextPart_001_01C20316.C551574C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable This is experimental, and not suitable for CVS for a number of reasons. However, I don't have time or inclination to tidy it up just now. The reason for the multiple non-inlining changes was an ill-fated attempt to get the profilable dll runnable under gdb. I'm happy to provide details on what I did and why should anyone want to experiment. For obvious reasons, a gprof profilable .dll is a very useful thing. Rob ------_=_NextPart_001_01C20316.C551574C Content-Type: text/plain; name="how-profiling-works.txt" Content-Transfer-Encoding: base64 Content-Description: how-profiling-works.txt Content-Disposition: attachment; filename="how-profiling-works.txt" KEMpIDIwMDIgUm9iZXJ0IENvbGxpbnMKCkhvdyB0byBwcm9maWxlIGN5Z3dpbjEuZGxsLgoKVGhl IGhhcmQgd2F5OgoKQnVpbGQgbGliYy5hIGFuZCBsaWJtLmEgd2l0aCAtcGcuCkJ1aWxkIGFsbCB0 aGUgY3lnd2luMS5kbGwgc291cmNlIC0gZXhjZXB0IG1jb3VudC5jIC0gd2l0aCAtcGcgYW5kIG5v IC1PMi4KLU8yIGludGVyZmVyZXMgd2l0aCAtcGcgaW4gc29tZSBpbmxpbmVkIGNvZGUuCkxpbmsg bGliZ21vbi5hIGludG8gY3lnd2luMS5kbGwuCgpJIHVzZWQgYSBDQ05PUFJPRiB0YXJnZXQgaW4g TWFrZWZpbGUuaW4gdG8gbWFrZSB0aGlzIHJlbGF0aXZlbHkgZWFzeS4KClZvaWxhLgoKCg== ------_=_NextPart_001_01C20316.C551574C Content-Type: application/octet-stream; name="profiling.diff" Content-Transfer-Encoding: base64 Content-Description: profiling.diff Content-Disposition: attachment; filename="profiling.diff" PyBjeWdzZXJ2ZXJfc2VtLmNjCj8gY3lnc2VydmVyX3NlbS5oCj8gY3lnc3RycHRpbWUucGF0Y2gK PyBkYWVtb25zdGF0ZS5wYXRjaAo/IGRhZW1vbnN0YXRlMi5wYXRjaAo/IGRhZW1vbnN0YXRlMy5w YXRjaAo/IGV4cG9ydGlwYy5wYXRjaAo/IHQKPyBnZXRzZW0ucGF0Y2gKPyBob3ctY3lnd2luLW9w dGlvbnMtd29yay50eHQKPyBrZXlfdC5wYXRjaAo/IGxvY2Fsd29ya2luZ3N0dWZmLnBhdGNoCj8g bWVyZ2UubG9nCj8gbmV3Cj8gc2VtLmNjCj8gcGVydGhyZWFkLmNjCj8gcHJvZmlsaW5nLmRpZmYK PyB0LnQKPyBob3ctcHJvZmlsaW5nLXdvcmtzLnR4dAo/IHJ1bl9kdG9ycy5wYXRjaAo/IGluY2x1 ZGUvc3lzL3NlbS5oCkluZGV4OiBNYWtlZmlsZS5pbgo9PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvY3Zz L3NyYy9zcmMvd2luc3VwL2N5Z3dpbi9NYWtlZmls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XBlcy5oCi0tLSBpbmNsdWRlL2N5Z3dpbi9jeWdzZXJ2ZXJfdHJhbnNwb3J0X3Bp cGVzLmgJMTMgTWFyIDIwMDIgMDI6MzQ6MDUgLTAwMDAJMS4zCisrKyBpbmNsdWRlL2N5Z3dpbi9j eWdzZXJ2ZXJfdHJhbnNwb3J0X3BpcGVzLmgJMjQgTWF5IDIwMDIgMTE6Mjk6MTAgLTAwMDAKQEAg LTI5LDExICsyOSwxMSBAQCBjbGFzcyB0cmFuc3BvcnRfbGF5ZXJfcGlwZXMgOiBwdWJsaWMgdHJh CiAgIHByaXZhdGU6CiAgICAgLyogZm9yIHBpcGUgYmFzZWQgY29tbXVuaWNhdGlvbnMgKi8KICAg ICB2b2lkIGluaXRfc2VjdXJpdHkgKCk7Ci0gICAgU0VDVVJJVFlfREVTQ1JJUFRPUiBzZDsKLSAg ICBTRUNVUklUWV9BVFRSSUJVVEVTIHNlY19ub25lX25paCwgc2VjX2FsbF9uaWg7CisgICAgdHJh bnNwb3J0X2xheWVyX3BpcGVzIChIQU5ETEUgbmV3X3BpcGUpOwogICAgIGNoYXIgcGlwZV9uYW1l IFtNQVhfUEFUSF07CiAgICAgSEFORExFIHBpcGU7CisgICAgU0VDVVJJVFlfREVTQ1JJUFRPUiBz ZDsKKyAgICBTRUNVUklUWV9BVFRSSUJVVEVTIHNlY19ub25lX25paCwgc2VjX2FsbF9uaWg7CiAg ICAgYm9vbCBpbml0ZWQ7Ci0gICAgdHJhbnNwb3J0X2xheWVyX3BpcGVzIChIQU5ETEUgbmV3X3Bp cGUpOwogfTsKICNlbmRpZiAvKiBfQ1lHU0VSVkVSX1RSQU5TUE9SVF9QSVBFU18gKi8K ------_=_NextPart_001_01C20316.C551574C--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |