qxl-wddm-dod/QxlDodParseTrace.bat
yuri.benditovich@daynix.com ef4d85ec2c qxl-wddm-dod: Add scripts for ETW recording and parsing
QxlDodCollectTrace.bat intended for recording of binary traces
in end-user environment (end-user runs it when instructed).
It uses built-in Windows ability of collecting ETW data.
QxlDodParseTrace.bat is to be used by developer to convert
received binary traces to formatted text.

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2017-07-09 09:46:36 +01:00

11 lines
332 B
Batchfile

@echo off
set tmpname=%temp%\%RANDOM%%RANDOM%%RANDOM%.tmp
if "%~1" equ "" goto :usage
if "%~2" equ "" goto :usage
"C:\Program Files (x86)\Windows Kits\10\tools\x86\traceview.exe" -process "%~1" -o %tmpname% -pdb "%~2" -nosummary
start notepad %tmpname%
goto :eof
:usage
echo %~n0 ^<ETL trace file^> ^<PDB file^>
goto :eof