diff options
author | Yuri Benditovich <yuri.benditovich@daynix.com> | 2017-05-28 16:04:29 +0300 |
---|---|---|
committer | Dmitry Fleytman <dfleytma@redhat.com> | 2017-05-29 10:27:24 +0300 |
commit | b41c88dd485c20014ebcf1d19d15f64a2f126054 (patch) | |
tree | 1fdf0effd1cce1af12f8467b6246f4995b8d7f72 | |
parent | 330368c38b393e3ebc55346cc9cd767061bde640 (diff) |
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 <yuri.benditovich@daynix.com>
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
-rw-r--r-- | Tools/Trace/UsbDkLogman.bat | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Tools/Trace/UsbDkLogman.bat b/Tools/Trace/UsbDkLogman.bat new file mode 100644 index 0000000..011f8ab --- /dev/null +++ b/Tools/Trace/UsbDkLogman.bat @@ -0,0 +1,14 @@ +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 |