您的位置:首页 > 其它

how to use autologger in reboot trace

2015-03-28 13:32 309 查看
Here is the link for how to define and configure the autologger from MSDN.

https://msdn.microsoft.com/en-us/library/aa363687.aspx

the ProviderGuid is what defined in the trace.h (or sensortrace.h)
and it's unique for every tracelog.

the GUID is what you defined, must be different from ProviderGuid.
we can also use the autologger.exe to change the registry for us.
tracelog -addautologger MyLogger -f c:\MyLogger.etl -sessionGuid #FF2600A8-169C-4D0D-A3F2-6D23FCDFE7EA -guid #becf83fd-d220-4b19-b7c1-c9127307f6b1 -level 7 -flag 0xF

-guid is the guid for ProviderGuid

Guid cmd info is in the bellow link
https://msdn.microsoft.com/en-us/library/windows/hardware/ff553012%28v=vs.85%29.aspx

then you can restart your computer, the trace info can be loaded in the etl file in your path.





内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  windows