Skip to content

Commit

Permalink
SpeedScope handles only CPU samples, events are not supported (#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsitnik authored and John Salem committed Dec 5, 2019
1 parent d42c43c commit 42f505e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Tools/dotnet-trace/TraceFileFormatConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 42f505e

Please sign in to comment.