echo off
pushd "%~dp0"
logman stop usbdkm -ets >nul 2>&1
logman delete usbdkm -ets >nul 2>&1
logman create trace usbdkm -o usbdk.etl -ow -ets
logman update usbdkm -p {88e1661f-48b6-410f-b096-ba84e9f0656f} 0x7fffffff 6 -ets
echo Recording started.
echo Reproduce the problem, then press ENTER
pause > nul
logman stop usbdkm -ets
dir usbdk.etl
echo Please collect usbdk.etl file now
pause
popd

Add BAT file for recording of binary trace
tools: Add BAT file for recording of binary trace

Existing batch file records binary trace using TraceView that
shall be copied from WDK, which is not always installed on end
user machine. Added batch file allows recording without additional
tools, using built-in logman application.

Signed-off-by: Yuri Benditovich <9668326cb042de5d91fd7679dac7ca5ea402812c@daynix.com>
Signed-off-by: Dmitry Fleytman <f50f56ffad4b379c2a89812e98b14900ef87e9ea@redhat.com>
