aboutsummaryrefslogtreecommitdiffstats
path: root/LibOVRKernel/Src/Tracing/build.cmd
blob: 725162719f9d541e119f18d83160335a83aaa63b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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