Code Profiler – Collecting ETW (Event Trace for Windows) Events

Visual Studio Team System helps you collect ETW event data from a number of different providers – Windows, ASP.NET, and IIS are some examples. This detailed information, which is only available for view in calltrace text reports, helps you correlate the behavior of your application with its effect on the system.

An example scenario where ETW data is very useful is when you are trying to determine whether your application is CPU-bound, memory-bound, or I/O-bound. By collecting ETW events and correlating them with the methods your application calls, you can quickly see which ones are accessing the disk, accessing the network, or causing page faults.

Collecting ETW Events