ef4d85ec2c
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>
11 lines
332 B
Batchfile
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
|