从Eventlog提供程序获取instrumentationManifest [英] Obtain instrumentationManifest from Eventlog provider

查看:86
本文介绍了从Eventlog提供程序获取instrumentationManifest的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

有没有办法从现有的事件日志提供程序中检索instrumentationManifest(.man文件)?

Is there any way to retrieve the instrumentationManifest (.man file) from an existing eventlog provider?

问候。

推荐答案

MarkRedd,

Hi MarkRedd,

感谢您在此发帖。

您希望如何获取清单文件?

How do you want to obtain the manifest file?

Windows SDK包含C ++和托管代码示例。样品位于"%MSSDK%\Samples \WinBase \ Event"下。每个示例文件夹都包含一个"自述"文件,告诉您如何构建和运行示例。使用最新的SDK for
最新的样本。

The Windows SDK includes C++ and managed code samples. The samples are located under "%MSSDK%\Samples\WinBase\Eventing". Each sample folder contains a "readme" file that tells you how to build and run the sample. Use the most recent SDK for the most up-to-date samples.

示例包含一个XML检测清单(.man),用于描述样本将记录的事件。您可以使用自己喜欢的文本编辑器编辑清单,也可以使用EcManGen.exe工具编辑清单。 EcManGen工具在位于"%MSSDK%\ bin"文件夹中的SDK中可用

The samples contain an XML instrumentation manifest (.man) that describes the events that the sample will log. You can use your favorite text editor to edit the manifest or you can use the EcManGen.exe tool to edit the manifest. The EcManGen tool is available in the SDK located in the "%MSSDK%\bin folder.

有关详细信息,请参阅以下链接。

For more details, please refer to the link below.

https://social.msdn.microsoft.com /论坛/ en-US / a1aa1350-41a0-4490-9ae3-9b4520aeb9d4 / faq-common-questions-for-etw-and-windows-event-log?forum = etw

最诚挚的问候,

Wendy


这篇关于从Eventlog提供程序获取instrumentationManifest的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆