Add waithandle to --clrevents option (#4624)
authorGrégoire <gregoire.verdier@gmail.com>
Mon, 22 Apr 2024 22:01:59 +0000 (18:01 -0400)
committerGitHub <noreply@github.com>
Mon, 22 Apr 2024 22:01:59 +0000 (15:01 -0700)
A useful event to debug thread starvations. Introduced there
https://github.com/dotnet/runtime/pull/94737 for .NET 9.

src/Tools/dotnet-trace/Extensions.cs

index d73cadcb7f48b8c0aa4e994e6ffa3ef0e4486912..b9bd829c702f5f2347284e17f3b840809fc17f47 100644 (file)
@@ -55,6 +55,7 @@ namespace Microsoft.Diagnostics.Tools.Trace
             { "compilationdiagnostic", 0x2000000000 },
             { "methoddiagnostic", 0x4000000000 },
             { "typediagnostic", 0x8000000000 },
+            { "waithandle", 0x40000000000 },
         };
 
         public static List<EventPipeProvider> ToProviders(string providersRawInput)