TraceDrv is a sample driver that was designed to demonstrate WPP software tracing. TraceDrv is available in the Windows driver samples repository on GitHub.
The TraceDrv sample also includes TraceCtl, an application that starts TraceDrv and causes it to generate trace messages.
Toaster, the general sample driver in the WDK, is also instrumented for WPP software tracing. It is also available from Windows hardware development samples.
Eventdrv is a sample that demonstrates how to implement Event Tracing for Windows (ETW) in a driver. The ETW kernel-mode API was introduced with Windows Vista and is not supported in earlier operating systems.
Send comments about this topic to Microsoft