Where are the tracing samples?

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 Sample Driver, the general sample driver in the WDK, is also instrumented for WPP software tracing.

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.