Exercise 2 - Manually Collect ETW Logs for Media Scenarios Using WPR
Automated tests are great for verifying the audio or temporal video quality of a device for a specific automated scenario; however, if an audio or video glitch occurs during a manual test, then the Windows Performance Recorder (WPR) tool can be used to manually collect an Event Tracing for Windows (ETW) trace during a repro of the problem.
Step 1: Collect an ETW trace using WPR
Right-click on the Start menu and click on Command Prompt (Admin).
Navigate to the folder where you have WPR installed.
Run the following command:
wpr -cancel
Run the following command:
wpr -start Media.wprp -filemode
Run a workload such as video playback or a real time communications scenario.
Run the following command:
wpr -stop Media.etl
Step 2: Visualize the ETW trace in MXA
Install the Media eXperience Analyzer (MXA) which is part of the Windows ADK.
Right-click on the Start menu and click on Command Prompt (Admin).
Navigate to the folder where you installed MXA.
Run the following command:
xa -i <Media.etl location>\Media.etl
For example, if Media.etl were located at C:\Performance\Media, you would type the following command:
xa -i C:\Performance\Media\Media.etl
Press the Turn Symbols Off button to turn off symbol lookup.
Explore the various media related datasets and providers enabled in the trace.