The generator driver has the ability to capture information about generator timing via an ETW event source called Microsoft-CodeAnalysis-General
When using the 'Report a problem' tool inside Visual Studio, certain ETW providers are turned on and captured in the trace. We should add Microsoft-CodeAnalysis-General to these providers so that the timing information is captured and allows us to quickly see if a misbehaving generator is causing any slowness.
Note: there is already a roslyn ETW provider included in the traces RoslynEventSource but we can't use it in this case as it's declared in the workspaces layer rather than the compiler layer.
The generator driver has the ability to capture information about generator timing via an ETW event source called Microsoft-CodeAnalysis-General
When using the 'Report a problem' tool inside Visual Studio, certain ETW providers are turned on and captured in the trace. We should add
Microsoft-CodeAnalysis-General
to these providers so that the timing information is captured and allows us to quickly see if a misbehaving generator is causing any slowness.Note: there is already a roslyn ETW provider included in the traces RoslynEventSource but we can't use it in this case as it's declared in the workspaces layer rather than the compiler layer.