Redigera

Dela via


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

Download button for WPP_intro.docx document.

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