You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@brianrob do you have any idea why this could be failing? we have not touched this code for years, I expect it could be some ETW-related problem that occurred for PerfView users in the past.
It looks like the behavior observed here is slightly different. From the stack, it looks like the call to TraceEventProviders.GetProviderGuidByName is being passed null for name, which results in this exception. I'd expect to get an exception in this case, as a null value is not a valid value for this parameter.
As a next step, I'd recommend debugging into this to see if the value being passed to TraceEventProviders.GetProviderGuidByName is in-fact null.
When trying to profile the benchmark, I'm getting this exception. No special configuration was used, just the attribute.
.csproj:
Note: I've also tried creating an explicit configuration where I'd pass an empty list of providers, but it still fails. After checking the code of UserSession.EnableProviders(), it seems like the only culprit could be https://github.com/dotnet/BenchmarkDotNet/blob/cac4f6e7342eb28e73f59d21ca87f48cfce7b6ba/src/BenchmarkDotNet.Diagnostics.Windows/Sessions.cs#L46C46-L46C63
The text was updated successfully, but these errors were encountered: