Common causes are:
- Tool/version mismatch
- WPA and WPR must be compatible with the trace format and provider data.
- If events cannot be captured or decoded correctly, one documented cause is that the tools do not match and are not compatible.
- The file is not a valid ETL trace
- WPA opens event trace log (ETL) files for analysis.
- If the file is incomplete, truncated, or not actually a valid ETL output from WPR/Xperf/an assessment, WPA may fail to open it.
- The trace was not stopped cleanly
- WPR is the session controller that starts and stops ETW recording and produces the ETL consumed by WPA.
- A trace that was interrupted before
wpr -stop <file>.etlcompleted can result in an unusable file.
To determine whether the file is corrupted or incompatible:
- Confirm the file type
- Verify the trace is an
*.etlfile. - WPA is documented to open ETL files produced by WPR, Xperf, or assessments.
- Verify the trace is an
- Verify how the trace was captured
- If the trace was collected with WPR, make sure it was started and stopped normally, for example:
-
wpr -start ... -filemode - reproduce the issue
-
wpr -stop Trace.etl
-
- If capture was interrupted, recapture the trace.
- If the trace was collected with WPR, make sure it was started and stopped normally, for example:
- Check tool compatibility
- Use matching, current Windows Performance Toolkit components.
- The documented prerequisite for TraceLogging scenarios is that WPR and WPA must be compatible with the version of TraceLogging in use.
- Try a fresh capture
- Capture a short new trace with WPR and then open that ETL in WPA.
- If the new trace opens but the original does not, the original file is likely corrupted or incomplete.
- If neither opens, the issue is more likely with the tool installation or compatibility.
- Open the ETL in WPA directly after capture
- After stopping the trace, test with:
-
Wpa.exe Trace.etl
-
- This helps confirm whether WPA can consume newly generated ETL files on that system.
- After stopping the trace, test with:
A practical baseline capture flow is:
- Open an elevated command prompt.
- Start a trace, for example:
wpr -start VirtualAllocation -filemode - Reproduce the scenario.
- Stop the trace:
wpr -stop Trace.etl - Open it in WPA.
If WPA still cannot open a newly captured ETL, the strongest documented indicator is a compatibility problem between the installed performance tools and the trace/provider format.