Tools for Software Tracing


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:

  • Logman

    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.

  • Tracefmt

    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.

  • Tracelog

    A command-line trace controller that supports user-mode and kernel-mode trace sessions.

  • Tracepdb

    A command-line tool that creates TMF files from symbol files.

  • Tracerpt

    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.

  • TraceView

    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.

  • TraceWPP

    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.




Developing Drivers with the Microsoft Windows Driver Foundation
Developing Drivers with the Windows Driver Foundation (Pro Developer)
ISBN: 0735623740
EAN: 2147483647
Year: 2007
Pages: 224

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net