From: José Rivero Date: Mon, 22 Apr 2019 23:12:50 +0000 (-0700) Subject: Updating gc/gc-collect options to map PerfView flags. (#175) X-Git-Tag: submit/tizen/20190813.035844~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2bda3c0d2682748a7db6204fa08ee620dcc91130;p=platform%2Fcore%2Fdotnet%2Fdiagnostics.git Updating gc/gc-collect options to map PerfView flags. (#175) --- diff --git a/src/Tools/dotnet-trace/CommandLine/Commands/ProfilesCommandHandler.cs b/src/Tools/dotnet-trace/CommandLine/Commands/ProfilesCommandHandler.cs index d0ea7cb0d..fcce030c2 100644 --- a/src/Tools/dotnet-trace/CommandLine/Commands/ProfilesCommandHandler.cs +++ b/src/Tools/dotnet-trace/CommandLine/Commands/ProfilesCommandHandler.cs @@ -52,14 +52,28 @@ namespace Microsoft.Diagnostics.Tools.Trace "gc", new Provider[] { new Provider("Microsoft-DotNETCore-SampleProfiler"), - new Provider("Microsoft-Windows-DotNETRuntime", (ulong)ClrTraceEventParser.Keywords.GC, EventLevel.Verbose), + new Provider( + name: "Microsoft-Windows-DotNETRuntime", + keywords: (ulong)ClrTraceEventParser.Keywords.GC | + (ulong)ClrTraceEventParser.Keywords.GCHeapSurvivalAndMovement | + (ulong)ClrTraceEventParser.Keywords.Stack | + (ulong)ClrTraceEventParser.Keywords.Jit | + (ulong)ClrTraceEventParser.Keywords.StopEnumeration | + (ulong)ClrTraceEventParser.Keywords.SupressNGen | + (ulong)ClrTraceEventParser.Keywords.Loader | + (ulong)ClrTraceEventParser.Keywords.Exception, + eventLevel: EventLevel.Verbose), }, "Tracks allocation and collection performance."), new Profile( "gc-collect", new Provider[] { new Provider("Microsoft-DotNETCore-SampleProfiler"), - new Provider("Microsoft-Windows-DotNETRuntime", (ulong)ClrTraceEventParser.Keywords.GC, EventLevel.Informational), + new Provider( + name: "Microsoft-Windows-DotNETRuntime", + keywords: (ulong)ClrTraceEventParser.Keywords.GC | + (ulong)ClrTraceEventParser.Keywords.Exception, + eventLevel: EventLevel.Informational), }, "Tracks GC collection only at very low overhead."),