ETW提供商的计数限制 [英] Count limitation of ETW Provider
问题描述
您好,
我阅读了文章
使用ETW改进调试和性能调优。它说"由于许多操作系统组件中的事件检测工具不断增长,即使是Windows Vista的简单应用程序也已经包含了几个作为事件提供者的组件"。所以我认为在一个庞大而复杂的应用程序中会有很多提供商。
I read the article Improve Debugging And Performance Tuning With ETW. It says "Due to the growing event instrumentation in many OS components, even a simple application for Windows Vista will already contain several components that are event providers". So I think there will be lots of providers in a large, complicated application.
然而,当我读到
参考EventRegiste r,I注意这句话:"一个进程最多可以注册1,024个提供者GUID;但是,您应该将您的流程注册的提供商数量限制为一个或两个"。
However, when I read the reference of EventRegister, I notice this remark: "A process can register up to 1,024 provider GUIDs; however, you should limit the number of providers that your process registers to one or two".
我完全感到困惑。我应该为大型软件设计许多不同的提供商,还是应该将它们限制为同一个提供商?
I'm totally confused. Should I design many different providers for a large scale software or should I limit them to be the same provider?
谢谢,
James
推荐答案
嗨詹姆斯,
一张图片为了解释这可能意味着什么。
one picture for you to explain what this can mean.
在此示例中,您可以看到应用程序名称"Application-Experience"。
此应用程序有5个不同的提供商GUID,具有唯一的名称。
In this example you can see the application name "Application-Experience".
And this application has 5 different provider GUID's with unique names.
如果我想将此用于故障排除原因...我希望我能此时没有看到800 提供商:)。
If I would like to use this for troubleshooting reasons ... I would wish me to not see 800 providers at this point :).
BR
Rainer
BR
Rainer
这篇关于ETW提供商的计数限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!