how to use autologger in reboot trace

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.









  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值