From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id BC14B3858D37 for ; Fri, 1 Sep 2023 00:21:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BC14B3858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4004a.ext.cloudfilter.net ([10.228.9.227]) by cmsmtp with ESMTP id bp28qFOKH6Nwhbrv0qC24U; Fri, 01 Sep 2023 00:21:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1693527706; bh=R95cfVMTnvIeirlrVIT8r8sHCqtLYYBLpWZ8+aCVV9Y=; h=Date:Reply-To:Subject:To:References:Cc:From:In-Reply-To; b=K55sYGoTSGWvydmEjmq+JIOOgyW3XKFeSMTGUM8zen3yBlGIHSN72jSYDFRS6RXZ0 D1PtNG9RkC3LgZDhPYBCq/Me7AuCHYYCeDi2qwW7Ft/F3RzgKujlaFMyFLXFyuHRHX odxerRQBcoKR5smEAia3BgwUh++REff8oibuSrBxmvgNRPuQViZjNry21e8dAvAmMx 0RoooDwvCyKnbMR+1wsMUt8c1AujUGosaBpUN2oVXnjo4H0L3fDe3+K0WlbqSREMMl SCXrrtZ9OZpIRVeM6pX/3n2MD2jOXp9okak9eN6YWB6rYL2RCvgFjZ2Wo9jkQG8dTV lfwK7BvyJ3BjA== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id bruzqfi7U3fOSbruzqX7l0; Fri, 01 Sep 2023 00:21:46 +0000 X-Authority-Analysis: v=2.4 cv=J8G5USrS c=1 sm=1 tr=0 ts=64f12e9a a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=yMhMjlubAAAA:8 a=l_2oetQxAedflDVkkO4A:9 a=7Zwj6sZBwVKJAoWSPKxL6X1jA+E=:19 a=QEXdDO2ut3YA:10 Message-ID: <095fa450-cc6f-9b47-6124-0fc7acd5b1a2@Shaw.ca> Date: Thu, 31 Aug 2023 18:21:45 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Reply-To: cygwin@cygwin.com Subject: Re: Debugging Cygwin apps with dtrace for windows? To: cygwin@cygwin.com References: Content-Language: en-CA Cc: Joshuah Hurst From: Brian Inglis Organization: Inglis In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfJBLNwWp4K3+6UZ+ImboR1e4AoJCiP++a/uXyZ8Z66LqDSl5ECfIdAbHdT3ZNGPy/MRXRNAiSRCDyJah8O6BLp9ImwxPICLeA21DThA1lcOWOffxSvnL VaRZCJldN0k3Eikb+piVziBSRQFoW1W2H4u4Ci9Uwx0aYrtbq/vPidjhGxGDP/iS9//x0NAv7YakYspaunak//juKpqjvW+IW2c= X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2023-08-31 16:49, Joshuah Hurst via Cygwin wrote: > Has anyone tested if dtrace for windows > https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/dtrace > can be used to debug cygwin apps? It does not appear to be usable as an application debugger, rather providing diagnostics about system call level behavioural anomalies, sampling system state with predefined interpreted AWK/C-like "D" scripts. It appears to be a system call probe and event tracing and data collection tool, requiring a feature built in to recent Windows enabled, possibly built on Event Tracing for Windows, drivers, utilities, and matching OS symbols installed, offering command line initiated probe, event, executable, and user "D" script selection. For cygwin executables, strace provides similar capabilities. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry