Chapter 13. Common Tracing Scenarios

In this chapter

Analyzing Blocked Time
Analyzing Memory Usage
Tracing as a Debugging Aid
Summary

This chapter presents a few practical case studies that illustrate the power of tracing as an investigative technique for discovering the cause of performance bottlenecks, studying system internals, and debugging code bugs. You already saw the power of Event Tracing for Windows (ETW) and Xperf in action when you used that combination in Chapter 11, to determine why notepad.exe was freezing for a long time when opening very large files. In that case, you used the operating system’s (OS) ability to capture sample CPU profiling ETW events to track down the call site of the performance bottleneck. This chapter presents more ...

Get Inside Windows® Debugging now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.