标签: .net etw perfview
logman工具可以列出当前为运行中的跟踪事件会话启用的所有提供程序,例如:
logman query -ets SleepStudyTraceSession
使用TraceEvent库在代码中如何实现?
https://www.nuget.org/packages/Microsoft.Diagnostics.Tracing.TraceEvent/