The WDK includes a set of GUI-based and command-line tools for software tracing. These tools are designed to support ETW and to supplement the tracing tools in Windows.
|Inside Out || |
The WDK tracing tools are located under %wdk%\tools\tracing\, with separate sets of tools for each of the three supported CPU architectures. The tools include the following:
A fully functional, GUI-based trace controller designed to control the logging of performance counters and event traces. The tool is available in Windows XP and later versions.
A command-line trace consumer that formats trace messages from real-time trace sessions or trace logs and writes them to files or displays them in the command prompt window.
A command-line trace controller that supports user-mode and kernel-mode trace sessions.
A command-line tool that creates TMF files from symbol files.
A command-line trace consumer that formats trace events and performance counters and writes them to files that can be read by other tools, such as Microsoft Excel. Tracerpt also analyzes the events and generates summary reports. The tool is available in Windows XP and later versions.
A GUI-based trace controller and trace consumer that combines and extends the features of Tracepdb, Tracelog, and Tracefmt. This tool is designed for real-time displays of trace messages but can also be used to view trace log files.
A command-line tool that runs the WPP preprocessor on the source files of a trace provider. This tool is an alternative to running the preprocessor as part of the regular build process.
|Tip || |
The Control Panel Event Viewer application cannot be used to display trace logs generated by drivers that use WPP.