【发布时间】:2013-05-29 15:32:11
【问题描述】:
我有一个 C/C++ 应用程序,我想在其中使用基于清单的 ETW 解决方案。我在使用打开生成的 *.etl 的工具(如 Windows 上的默认工具或任何其他工具)时遇到问题,因为我看不到我的事件的具体细节(清单中定义的模板)
如何将清单注册到系统并将其指定给知名的 ETW 消费者工具以显示该信息?
我做了http://www.codeproject.com/Articles/570690/Application-Analysis-with-Event-Tracing-for-Window中提到的事情
mc FirstETW.man //included generated *.rc in project
mc -um FirstETW.man //to generate C files that I've used in the ETW provider executable
rc FirstETW.rc // not sure of this .Already included the generated *.rc script from previous step in the visual studio project
还注册了清单:
wevtutil.exe im FirstETW.man //installs the provider
有什么想法吗?
【问题讨论】:
标签: c++ windows visual-studio trace etw