Hi all, just a quick question, I am trying to integrate WPP tracing in my
device driver as i am getting fedup of having to use the remote windbg to
monitor the debug messages. since WPP will allow me to monitor trace
messages in a free build, I think this would be a great move! I went to an
OSR training course a few years ago, which covered some WPP topics however
my knowledge on WPP is a little rusty now since this is the first time I’ve
used WPP.
I have managed to compile a device driver with WPP support (I think) it has
generated ‘.tmh’ files in the output obj folder, so I must have managed to
invoke the WPP Preprocessor successfully. However I am not sure where to go
from here.
- How can I test whether my driver now has WPP support?
- Are there any additional steps I need to do before I can capture the
trace messages?
- what are the best tools or utilities available to allow me to monitor WPP
trace messages?
Regards
James
This email and any files attached are intended for the addressee and may
contain information of a confidential nature. If you are not the intended
recipient, be aware that this email was sent to you in error and you should
not disclose, distribute, print, copy or make other use of this email or its
attachments. Such actions, in fact, may be unlawful. In compliance with
the various Regulations and Acts, General Dynamics UK Limited reserves the
right to monitor (and examine for viruses) all emails and email attachments,
both inbound and outbound. Email communications and their attachments may
not be secure or error- or virus-free and the company does not accept
liability or responsibility for such matters or the consequences thereof.
Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in
England and Wales No: 1911653.
If you have done thing correctly, such as including the tmh file, etc. You
should be ready to go. Go to the tools\tracing directory of the DDK, and
run TraceView, this is the easiest and most intuitive tool for controling
and viewing, WPP tracing. When it starts select “Create New Log Session”
from the file menu, then specify your PDB file under the “Add Provider”
option.
–
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply
“James Dunning” wrote in message
news:xxxxx@ntdev…
> Hi all, just a quick question, I am trying to integrate WPP tracing in my
> device driver as i am getting fedup of having to use the remote windbg to
> monitor the debug messages. since WPP will allow me to monitor trace
> messages in a free build, I think this would be a great move! I went to an
> OSR training course a few years ago, which covered some WPP topics however
> my knowledge on WPP is a little rusty now since this is the first time
> I’ve
> used WPP.
>
> I have managed to compile a device driver with WPP support (I think) it
> has
> generated ‘.tmh’ files in the output obj folder, so I must have managed to
> invoke the WPP Preprocessor successfully. However I am not sure where to
> go
> from here.
>
> 1) How can I test whether my driver now has WPP support?
> 2) Are there any additional steps I need to do before I can capture the
> trace messages?
> 3) what are the best tools or utilities available to allow me to monitor
> WPP
> trace messages?
>
> Regards
> James
>
> This email and any files attached are intended for the addressee and may
> contain information of a confidential nature. If you are not the intended
> recipient, be aware that this email was sent to you in error and you
> should
> not disclose, distribute, print, copy or make other use of this email or
> its
> attachments. Such actions, in fact, may be unlawful. In compliance with
> the various Regulations and Acts, General Dynamics UK Limited reserves the
> right to monitor (and examine for viruses) all emails and email
> attachments,
> both inbound and outbound. Email communications and their attachments may
> not be secure or error- or virus-free and the company does not accept
> liability or responsibility for such matters or the consequences thereof.
> Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in
> England and Wales No: 1911653.
>
>
The WDK (ddk) has a whole suite of tracing tools that let you start, stop,
and configure trace sessions and view the trace data. They’re all described
in the DDK documentation in the “Driver Development Tools: Tools for
Software Tracing” section.
TraceView is great, but it doesn’t support some of the newest features, like
DPC/ISR tracing in the kernel.
If you have any questions about the tracing tool docs in the WDK, you can
send them to me or to the WDK\DDK doc feedback alias,
xxxxx@microsoft.com.
–
June Blender (MSFT)
WDK (DDK) Tool Docs
xxxxx@microsoft.com
“James Dunning” wrote in message
news:xxxxx@ntdev…
> Hi all, just a quick question, I am trying to integrate WPP tracing in my
> device driver as i am getting fedup of having to use the remote windbg to
> monitor the debug messages. since WPP will allow me to monitor trace
> messages in a free build, I think this would be a great move! I went to an
> OSR training course a few years ago, which covered some WPP topics however
> my knowledge on WPP is a little rusty now since this is the first time
> I’ve
> used WPP.
>
> I have managed to compile a device driver with WPP support (I think) it
> has
> generated ‘.tmh’ files in the output obj folder, so I must have managed to
> invoke the WPP Preprocessor successfully. However I am not sure where to
> go
> from here.
>
> 1) How can I test whether my driver now has WPP support?
> 2) Are there any additional steps I need to do before I can capture the
> trace messages?
> 3) what are the best tools or utilities available to allow me to monitor
> WPP
> trace messages?
>
> Regards
> James
>
> This email and any files attached are intended for the addressee and may
> contain information of a confidential nature. If you are not the intended
> recipient, be aware that this email was sent to you in error and you
> should
> not disclose, distribute, print, copy or make other use of this email or
> its
> attachments. Such actions, in fact, may be unlawful. In compliance with
> the various Regulations and Acts, General Dynamics UK Limited reserves the
> right to monitor (and examine for viruses) all emails and email
> attachments,
> both inbound and outbound. Email communications and their attachments may
> not be secure or error- or virus-free and the company does not accept
> liability or responsibility for such matters or the consequences thereof.
> Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in
> England and Wales No: 1911653.
>
>