Compiling OpenDTrace for Windows (user-mode components)

April 21, 2022 ยท View on GitHub

Requirements

Steps

  1. Install WDK/SDK following instructions in https://docs.microsoft.com/windows-hardware/drivers/download-the-wdk

  2. Install Git for Windows.

  3. Clone the repository (git clone https://github.com/microsoft/DTrace-on-Windows).

  4. Execute releng\Get-ExternalTools.ps1 in PowerShell. (Right-click the script and select Run with PowerShell.)

  5. Open opendtrace.sln in Visual Studio.

  6. Change the target platform as needed and build the solution.