Compiling OpenDTrace for Windows (user-mode components)
April 21, 2022 ยท View on GitHub
Requirements
- Windows WDK and SDK (version 1903 or later)
- Git for Windows
- Windows 10 Anniversary Update (or newer)
Steps
-
Install WDK/SDK following instructions in https://docs.microsoft.com/windows-hardware/drivers/download-the-wdk
-
Install Git for Windows.
-
Clone the repository (
git clone https://github.com/microsoft/DTrace-on-Windows). -
Execute
releng\Get-ExternalTools.ps1in PowerShell. (Right-click the script and select Run with PowerShell.) -
Open
opendtrace.slnin Visual Studio. -
Change the target platform as needed and build the solution.