I am trying to wrap my head around ETW and how to integrate t into a high Performance application.
We all know the old dreaded EventLog with it's non structured (and thus not so optimal) API.
Now there is a new and fancy API for high performance tracing - ETW, and it got a new API on the .NET side in 4.5 in the form of the EventSource class that you can easily subclass (so no more manifest writing).
THis leaves me with a number of questions, trying to get this working.
- What is the current proposed best (as per documentation, Guidelines) way to work with ETW and get Events from there into the EventLog? I have an application here that must write (Performance) Events and would love to use ETW; but the Events shall appear in a (custom) Event log.
- Is there a complete example for this? I can find some, but they all date to the .NET 4.0 time and start with the manifest.
What did I try? I got an EventSource working, but simply have failed to get the proper documentation on how to get the rest working Downstream from there.