I have implemented a custom tracelistener to write events to sql database.But my intention is to use ETW subsystem to improve the performance.
But I came to know from different blogs that to use ETW we need to start,stop the sessions by using logman commandline utility and after .etl file generation send those events to XML using tracerpt .Later reading XML and write to DB (or)
directly to DB by using logparser.
Instead of using logman,tracerpt or logparser utilities can we achieve thorugh c# code
Is there any realtime implementation of using ETW without utility based session start and stop.
If anyone have code to achieve above please share with us?