PDA

View Full Version : Convert driver traces to human readable format


Suman
December 6th 03, 04:10 PM
I am trying out Microsoft's Event Tracing for Windows to
trace my driver using WPP macros.

I log a string with the format "%Data =%s".

In the TMF file created by using Microsoft tracefmt tool I
see that the format is entered as "%Data = %10!s!"

In my application using the event tracing consumer APIS I
am able to get the string but it is in binary.

How can I convert the string into human readable format
using the format specified in the TMF file?

Is there any API that takes the binary data and the
format to convert into Human Readable string? Need help.
I hope to convince my team that Event Tracing for Windows
is an effective tool that can be used in our apps/drivers.

Thanks
Suman

Google