Starting Tracelog

Tracelog can started and stopped using the xbrun remote console tool.

Starting Tracelog

Tracelog is launched using the xbrun remote console tool and specifying tracelog.exe -start as the command to execute.

xbrun /O /X/title tracelog.exe -start -f d:\SimpleTriangle.etl -eflag 
   PROC_THREAD+LOADER+DISK_IO+DPC+INTERRUPT+CSWITCH+PROFILE+SYSCALL+VIRT_ALLOC+PRIORITY -SetProfInt 1221 -stackwalk PROFILE+CSWITCH  

Note that the command is broken into two separate lines for readability and would normally be one continuous line.

Stopping Tracelog

Tracelog is launched using the xbrun remote console tool and specifying tracelog.exe -stop as the command to execute.

xbrun /O /X/title tracelog.exe -stop  

Merging the Tracelog

Tracelog is launched using the xbrun remote console tool and specifying tracelog.exe -merge as the command to execute.

xbrun /O /X/title tracelog.exe -merge d:\SimpleTriangle.etl d:\SimpleTriangle-merge.etl  

Retrieving the Tracelog

The trace dump created by tracelog can be retrieved using the xbcp remote console tool and specifying the same file and path used when starting tracelog.

xbcp /X/title xd:\SimpleTriangle-merge.etl