Skip to the content.

ETW Event Tracing for windows.

provider

Tools for tracing.

default storing location: c:\windows\system32 logman create trace SessionName -p ProviderName keywordMask level -o OutputFilename.etl
Example: logman create trace sess1 -p EsifUmdf2EtwProvider 0xFFFFFFFF 5 -o trace.etl
logman create trace lf_all_sess -p EsifLfEtwProvider 0x200000 5 -o lf_all_1.etl start Capture: logman start SessionName
Stop Capture : logman stop SessionName
logman update SessionName -p ProviderName keywordMask level -o OutputFilename.etl

logman commands
logging on boot

function command
create trace logman create trace sessionA –p EsifUmdf2EtwProvider 0x8000005 –o sessionA.etl
start session logman start sessionA
stop session logman stop sessionA
process trace tracerpt sessionA_000001.etl -o sessionA.csv -of CSV
get list of logging logman query

This is needed for the log to format as human readable. tracerpt filename.etl -o outputFilename.csv -of CSV
XML output: tracerpt filename.etl
tracerpt filename.etl -o outputFilename.csv -of CSV

xperf -start ms -on Microsoft-Windows-LimitsManagement -BufferSize 1024 -MinBuffers 10 -MaxBuffers 16
xperf -capturestate ms Microsoft-Windows-LimitsManagement
xperf -stop ms -d filename.etl / this file will be stored in c: