Skip to content

powershell cmdlets to control capture etw traces and analyze them.

License

Notifications You must be signed in to change notification settings

xinglonghe/TraceControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TraceControl

powershell cmdlets to control capture etw traces and analyze them.

for example you program is Testmimalloc.exe.
basically you can run:

H:\TestMimalloc\Testmimalloc.exe
wpr -start H:\TestTraces\TraceAnalyzer\profiles\Mimalloc.wprp -filemode -recordtempto H:\TestTraces\ETL\Temp
wpr -stop H:\TestTraces\ETL\Test_fb0231b3-3fc9-4c9f-b115-c8412d0928af_Mimalloc.etl

import-module ".\TraceAnalyzer.dll" -DisableNameChecking
$env:_NT_SYMBOL_PATH="H:\TestMimalloc"
$global:InformationPreference="Continue"
$r = Analyze-Mimalloc -FilePath H:\TestTraces\ETL\Test_fb0231b3-3fc9-4c9f-b115-c8412d0928af_Mimalloc.etl  -ProcessId {your process id}
$r

About

powershell cmdlets to control capture etw traces and analyze them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages