Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.48 KB

tracing-and-diagnosability-for-wdf-drivers.md

File metadata and controls

41 lines (27 loc) · 1.48 KB
title description ms.date
Tracing and Diagnosability for WDF Drivers
This paper discusses how to implement event tracing using the Windows software trace preprocessor (WPP) in a Windows Driver Foundation (WDF) driver.
07/09/2017

Tracing and Diagnosability for WDF Drivers

Last updated:

  • October 19, 2008

Applies to:

  • Windows Server 2008
  • Windows Vista
  • Windows Server 2003
  • Windows XP
  • Windows 2000

This paper discusses how to implement event tracing using the Windows software trace preprocessor (WPP) in a Windows Driver Foundation (WDF) driver.

File name: WPP_intro.docx

169 KB

Microsoft Word file

Get Office File Viewers

:::image type="content" source="./images/download.png" alt-text="Download button for WPP_intro.docx document." link="https://download.microsoft.com/download/9/c/5/9c5b2167-8017-4bae-9fde-d599bac8184a/WPP_intro.docx":::

Software tracing for drivers is usually based on Event Tracing for Windows (ETW), a kernel-level facility that logs trace messages for both kernel-mode and user-mode processes. Because ETW can be somewhat complicated to use, most driver developers use the Windows software trace preprocessor (WPP), which simplifies and enhances the process of instrumenting a driver for ETW tracing.

In this white paper:

  • WPP software tracing basics
  • Trace message functions and macros
  • Supporting software tracing in a driver
  • Tools for software tracing
  • How to run a software trace session