Well first of all, I like and use ETW, but the documentation for using it or
WPP or whatever you want to call it, is scattered and incomplete. Doing
anything other than cutting and pasting from the ddk samples puts you out in
the woods alone in the dark. We’ve had this discussion here. Search for
“Moron ETW” and all the threads around that thread. Lots of good information
THERE, but precious little in the published stuff.
=====================
Mark Roddy
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jose Sua
Sent: Wednesday, February 09, 2005 12:09 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Event Tracing for Windows (ETW)
For Software Tracing WPP simplifies using ETW for tracing. WPP is build on
top of ETW.
Search MSDN for WPP, there is extended documentation on the subject.
You will find in MSDN:
-Software Tracing FAQ
-documentation on the tools
-Samples
-debugger extension
For each provider GUID there are 255 levels, such as TRACE_LEVEL_ERROR, etc.
And 32 flags that you can define for tracing.
You can use Level and Flags to control tracing on your component, so that
you only get the tracing events you are interested in capturing. So tracing
can be enabled on your driver for say TRACE_LEVEL_WARNING and Flags equal to
one of the flags defined in your component.
The DDK sample shows the simplest form by just using flags, and ignoring the
Levels.
Thanks,
Jose Sua
Microsoft Corporation
This posting is provided “AS IS” with no warranties and confers no rights.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ralph Shnelvar
Sent: Wednesday, February 09, 2005 4:50 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Event Tracing for Windows (ETW)
Michael:
Thanks for the background information.
My home brew trace information is good enough. Are there any developers
here who find ETW worth the effort?
Ralph Shnelvar
On Tue, 8 Feb 2005 20:23:29 +0100, you wrote:
> ----------
> From:
xxxxx@lists.osr.com[SMTP:xxxxx@lists.osr.com
] on behalf of Ralph Shnelvar[SMTP:xxxxx@dos32.com]
> Reply To: Windows System Software Devs Interest List
> Sent: Tuesday, February 08, 2005 3:28 PM
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] IRQL = 0xFF mystery
>
> I can tell that DriverEntry has been enetered and has exited because
> of trace information that I leave around in memory. (Thanks, Michal
> Vodicka, for letting me know about ETW. I’ll probably replace my
> home-brewed trace code with ETW.)
>
Think twice about it. ETW is very good idea but the way how it is
implemented makes it hard to use. From one side it is bloated overkill and
from other it is too limited. The only real advantage against home-brewed
traces is driver binary doesn’t contain trace messages and user can’t see
the log. It can be even disadvantage for internal testing; with DbgPrint
based traces you can simply start DbgView at any testing machine. I decided
to stay with our home-brewed traces until MS makes ETW usable enough (i.e.
probably forever :).
Best regards,
Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com]
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com