Chapter 11. Introducing Xperf

In this chapter

Acquiring Xperf
Your First Xperf Investigation
Xperf’s Strengths and Limitations
Summary

The Event Tracing for Windows (ETW) framework, which ships as an integral part of the Microsoft Windows operating system, provides a uniform way to instrument your code by logging trace events with very little overhead to your application’s run-time performance. What makes this framework particularly useful to learn is that any software you develop in Windows is already using it—either directly or indirectly—because several components in the operating system (OS) are already heavily instrumented using ETW. Even without explicit instrumentation on your part, you can still take advantage of the plethora of events logged ...

Get Inside Windows® Debugging 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.