diff --git a/src/Tools/dotnet-trace/TraceFileFormatConverter.cs b/src/Tools/dotnet-trace/TraceFileFormatConverter.cs index 056d56bc8e..6b4d13451a 100644 --- a/src/Tools/dotnet-trace/TraceFileFormatConverter.cs +++ b/src/Tools/dotnet-trace/TraceFileFormatConverter.cs @@ -72,7 +72,10 @@ private static void ConvertToSpeedscope(string fileToConvert, string outputFilen OnlyManagedCodeStacks = true // EventPipe currently only has managed code stacks. }; - var computer = new SampleProfilerThreadTimeComputer(eventLog, symbolReader); + var computer = new SampleProfilerThreadTimeComputer(eventLog, symbolReader) + { + IncludeEventSourceEvents = false // SpeedScope handles only CPU samples, events are not supported + }; computer.GenerateThreadTimeStacks(stackSource); SpeedScopeStackSourceWriter.WriteStackViewAsJson(stackSource, outputFilename);