diff options
Diffstat (limited to 'LibOVRKernel/Src/Tracing/build.cmd')
-rw-r--r-- | LibOVRKernel/Src/Tracing/build.cmd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/LibOVRKernel/Src/Tracing/build.cmd b/LibOVRKernel/Src/Tracing/build.cmd new file mode 100644 index 0000000..7251627 --- /dev/null +++ b/LibOVRKernel/Src/Tracing/build.cmd @@ -0,0 +1,15 @@ +@echo off
+REM
+REM build.cmd - rebuild generated ETW tracing files from LibOVREvents.man
+REM
+
+REM assume mc.exe is in a path relative to xperf.exe
+for /f "delims=" %%a in ('where /F Xperf') do set XPERF_PATH=%%~dpa
+
+set OSTYPE=x86
+if not "%PROCESSOR_ARCHITECTURE%"=="x86" set OSTYPE=x64
+if not "%PROCESSOR_ARCHITEW6432%"=="" set OSTYPE=x64
+
+set MC="%XPERF_PATH%..\bin\%OSTYPE%\mc.exe"
+
+%MC% -v -a -A -n -um .\LibOVREvents.man -h . -z LibOVREvents
|