XPERF Boot Traces

Very quick post simply to give me a copy/paste location for a quick XPERF boot trace on the run. If im lucky, it will also be useful to you :)

Basic Trace:

xbootmgr.exe -trace boot -traceFlags Base+CSWITCH+COMPACT_CSWITCH+FILE_IO+FILE_IO_INIT -postBootDelay 90 -noTraceFlagsInFileName -resultpath <Path>

Detailed Trace:

xbootmgr -trace boot -traceFlags Latency+DISPATCHER+PRIORITY+PERF_COUNTER+DISK_IO_INIT+REGISTRY+NETWORKTRACE+MEMINFO+FILE_IO+FILE_IO_INIT -postBootDelay 180 -stackWalk Profile+ProcessCreate+CSwitch+ReadyThread+SyscallEnter+ThreadCreate –noTraceFlagsInFileName –resultpath <Path>