WPP Software Tracing Basics

Software tracing is one of the oldest debugging techniques. It provides a convenient and flexible way to generate detailed information about the behavior of a running driver at key points in its operation. Software tracing creates a running log of the driver’s operation. You use trace messages to put a variety of useful information into the trace log, such as:

  • The cause of state changes.

  • Notification of scavenging or cleanup operations.

  • Memory allocations.

  • I/O activities such as request completion or request cancellation.

  • Error data.

This chapter discusses how to implement WPP tracing in a WDF driver to create a trace log that contains a history of driver events. A related source of trace messages is the KMDF log, which is ...

Get Developing Drivers with the Windows® Driver Foundation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.