How to redirect WPP trace logs to WinDbg?

Hi All,

Please tell me
How to redirect WPP trace logs to WinDbg?

Thanks & Regards,
Amit.

How I do (or did it, but that is a separate thread) is to always build
my checked drivers using regular debug print and my free drivers using
ETW.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yahoo.com
Sent: Tuesday, July 17, 2007 8:03 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to redirect WPP trace logs to WinDbg?

Hi All,

Please tell me
How to redirect WPP trace logs to WinDbg?

Thanks & Regards,
Amit.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

If you are using traceview, that is one of the options when you create a
trace session.

After you select the provider, check the button of advance Log session
Options, then the Log Session Parameter options will allow you to send
events to Windbg.

If you are using tracelog to start the trace session, then just add -kd
option when starting the trace session.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yahoo.com
Sent: Tuesday, July 17, 2007 5:03 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to redirect WPP trace logs to WinDbg?

Hi All,

Please tell me
How to redirect WPP trace logs to WinDbg?

Thanks & Regards,
Amit.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Thanks to Jose Sua,
But I am not able to do it. Is it required to spacify some where to start communication between WinDbg and the TraceView session.

I am using TraceView utility.

Take a look at this doc that we provided back in DEVCON2005
http://www.microsoft.com/whdc/DevTools/tools/WPP_Intro.mspx

This doc is a little old, so the tools are no longer dependent of the
traceprt.dll ignore that. Also No need to differentiate between W2k and
above.

Read the part on
Redirecting Trace Messages to WinDbg
There are two parts to this in the doc, one for TraceView and another
one for command line tools.

What is your scenario?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yahoo.com
Sent: Tuesday, July 17, 2007 9:05 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] How to redirect WPP trace logs to WinDbg?

Thanks to Jose Sua,
But I am not able to do it. Is it required to spacify some where to
start communication between WinDbg and the TraceView session.

I am using TraceView utility.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

I have that doc. I have followed the instructions in it still I am not successful.

Can you tell me the steps you are doing.

What is your scenario,

Basic question have you instrumented your driver with WPP?
Are you able to get any WPP events in traceview at all? Never mind
windbg,

What are you getting from Traceview? Is starting the session,

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yahoo.com
Sent: Wednesday, July 18, 2007 11:26 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] How to redirect WPP trace logs to WinDbg?

I have that doc. I have followed the instructions in it still I am not
successful.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Yes I have instrumented my driver with WPP.

I am getting the trace logs in TraceView utility normaly, But I am not able to redirect it to WinDbg.

I have followed these steps to do so…
1> I have started WinDbg.(I had not done anything else with it.)
2> I Have started TraceView and created a session as spacified.
3> I have also made WinDbg field in advanced log option to TRUE.

Still the logs are get displayed in TraceView and not in WinDbg.

  1. On TraceView side, when you create a new session don’t forget setting the Windbg flag to TRUE on TraceView option dialog
  2. On Windbg side, put “!wmitrace.tmffile tmf file” into the command window to set your tmf file

Jason

How many days has this poor op been trying to enable debug output from
ETW?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@hotmail.com
Sent: Wednesday, July 25, 2007 10:46 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] How to redirect WPP trace logs to WinDbg?

  1. On TraceView side, when you create a new session don’t forget setting
    the Windbg flag to TRUE on TraceView option dialog
  2. On Windbg side, put “!wmitrace.tmffile tmf file” into the command
    window to set your tmf file

Jason


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer