@@ -17,7 +17,7 @@ namespace Ultra.Core;
17
17
/// <summary>
18
18
/// Converts an ETW trace file to a Firefox profile.
19
19
/// </summary>
20
- public sealed class EtwConverterToFirefox : IDisposable
20
+ public sealed class ConverterToFirefox : IDisposable
21
21
{
22
22
private readonly Dictionary < ModuleFileIndex , int > _mapModuleFileIndexToFirefox ;
23
23
private readonly HashSet < ModuleFileIndex > _setManagedModules ;
@@ -32,7 +32,7 @@ public sealed class EtwConverterToFirefox : IDisposable
32
32
private ModuleFileIndex _clrJitModuleIndex = ModuleFileIndex . Invalid ;
33
33
private ModuleFileIndex _coreClrModuleIndex = ModuleFileIndex . Invalid ;
34
34
private int _profileThreadIndex ;
35
- private readonly EtwUltraProfilerOptions _options ;
35
+ private readonly UltraProfilerOptions _options ;
36
36
private readonly FirefoxProfiler . Profile _profile ;
37
37
38
38
/// <summary>
@@ -70,7 +70,7 @@ public sealed class EtwConverterToFirefox : IDisposable
70
70
/// </summary>
71
71
public const int CategoryClr = 6 ;
72
72
73
- private EtwConverterToFirefox ( string traceFilePath , EtwUltraProfilerOptions options )
73
+ private ConverterToFirefox ( string traceFilePath , UltraProfilerOptions options )
74
74
{
75
75
_etl = new ETWTraceEventSource ( traceFilePath ) ;
76
76
_traceLog = TraceLog . OpenOrConvert ( traceFilePath ) ;
@@ -110,9 +110,9 @@ public void Dispose()
110
110
/// <param name="options">The options used for converting.</param>
111
111
/// <param name="processIds">The list of process ids to extract from the ETL file.</param>
112
112
/// <returns>The converted Firefox profile.</returns>
113
- public static FirefoxProfiler . Profile Convert ( string traceFilePath , EtwUltraProfilerOptions options , List < int > processIds )
113
+ public static FirefoxProfiler . Profile Convert ( string traceFilePath , UltraProfilerOptions options , List < int > processIds )
114
114
{
115
- using var converter = new EtwConverterToFirefox ( traceFilePath , options ) ;
115
+ using var converter = new ConverterToFirefox ( traceFilePath , options ) ;
116
116
return converter . Convert ( processIds ) ;
117
117
}
118
118
0 commit comments