Is it possible to log printf like messages when using manifest-based ETW

On an older thread, @Jan_Bottorff, gave a nice synopsis of his use of full fledged ETW in a driver. Mr Bottoroff, are you able to log printf like messages (sort of like as in WPP) along with being able to log structured ETW-style events in your solution?
We’re currently using WPP but would also like to be able log structured events for xperf, etc.

Thanks,
-wade

Whether the trace data is structured or unstructured is an attribute of the stream. You can’t intermix the two in the same trace.

We’ve done both… but I can’t remember if we’ve ever done both structured tracing and WPP tracing in the same driver. I don’t see why it wouldn’t work (two different trace GUIDs)… but can’t say I know for sure.

Peter

Ok - I’ll look further into it. Thanks!

of course you can - you just make a structured event that is something like ‘%s’ and then dump the unstructured data into the structured log. Whether this is useful or a good idea is another question, but it is certainly possible.