Skip to content

Event Tracing for Windows

Vadim Slyusarev edited this page Jun 26, 2015 · 2 revisions

Brofiler uses full power of Event Tracing for Windows.

This API provides access to the huge amount of low-level events.

Using this API Brofiler collects precise information about all Context Switches that occur during profiling session.
This information is super useful and show all the stalls and interceptions.

To get ETW on wheels one should launch the game 'As Administrator'.
It's the only way to get this events from Windows.

There are several possible errors during ETW initialization:

1. ETW can't start: launch your game as administrator to collect context switches
Do what it says. The only way to collect this handy events is to launch your game with administrator rights.

2. ETW session already started (Reboot should help)
This means, that ETW session is already started. There are several reasons, the most common is incorrect shutdown of the previous session. Although it's very rare error, reboot should definitely help in this situation.