Tracing and Diagnosability for WDF Drivers

Updated: October 23, 2008
**
Download

Tracing and Diagnosability for WDF Drivers

DownloadWPP_intro.docx
169 KB
Microsoft Word file
Updated: Oct 19, 2008
**

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. This paper discusses how to implement WPP tracing in a Windows Driver Foundation (WDF) driver.

This information applies for the following operating systems:
 Windows Server 2008
 Windows Vista
 Windows Server 2003
 Windows XP
 Windows 2000

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



Was This Information Useful?