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.
-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.
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.
相关文章推荐
- How to Use `strace` to Trace the System Call in Linux
- how to use Pointer in JNA.
- How to define a bash function for use in any script?
- How To Get Log, Trace Files In OA Framework Pages And Concurrent Request Programs
- How to Use the BASH "for" Loop in Shell Scripts
- How to unload a kernel module in use
- How to Use the restrict Qualifier in C
- How and Why to use the System.servicemodel.MessageParameterAttribute in WCF
- How to use USB 3G dongle/stick Huawei E169/E620/E800 ( Chip used Qualcomm e1750) in Linux (China and world)
- [Yii Framework] How to run cron job (or use command) in the server with yii framework
- How to let "test2.c" use the variable in "test1.c"
- How To Use Coordinates To Extract Sequences In Fasta File
- (转贴)How to use JDBC and transactions in Tomcat with JOTM
- How to use logrotate to manage log files in Linux
- How to use OpenChatter in my addon
- How to use epoll? A complete example in C
- How to use circles in website design[译文]
- [原] XAF How to use Signle() function in PersistentAlias with Many-To-Many scenario
- How can I force WebLogic to use third party jars that are included in my Ear?
- How to Use Hive-based Registry IN WINCE.NET