Udostępnij za pośrednictwem


How to: Collect Event Trace (ETW) Data

Event Tracing for Windows (ETW) is an efficient kernel-level tracing facility that lets profiler log kernel or application-defined events. The data collected from the event provider can only be viewed by using the /CALLTRACE option of the VSPerfReport command-line tool. You can use this report to determine where performance issues are occurring in the application.

Note

ETW events are only supported on Windows Server 2003 SP1 and Windows Server 2008, Windows XP SP2, and Windows Vista.

To enable event trace providers

  1. In Performance Explorer, right-click the performance session, and then click Properties.

  2. In the Property Pages, click the Windows Events properties.

  3. In the Select event trace provider to collect data from list, select the event providers you want to use to profile your application.

See Also

Other Resources

Configuring Performance Sessions for Profiling Tools