Skip to content

Commit 42f505e

Browse files
adamsitnikJohn Salem
authored andcommitted
SpeedScope handles only CPU samples, events are not supported (#661)
1 parent d42c43c commit 42f505e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Tools/dotnet-trace/TraceFileFormatConverter.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ private static void ConvertToSpeedscope(string fileToConvert, string outputFilen
7272
OnlyManagedCodeStacks = true // EventPipe currently only has managed code stacks.
7373
};
7474

75-
var computer = new SampleProfilerThreadTimeComputer(eventLog, symbolReader);
75+
var computer = new SampleProfilerThreadTimeComputer(eventLog, symbolReader)
76+
{
77+
IncludeEventSourceEvents = false // SpeedScope handles only CPU samples, events are not supported
78+
};
7679
computer.GenerateThreadTimeStacks(stackSource);
7780

7881
SpeedScopeStackSourceWriter.WriteStackViewAsJson(stackSource, outputFilename);

0 commit comments

Comments
 (0)