Skip to content

Commit c78f333

Browse files
authored
Rename Crossgen2 dependency graph ETW event source (#37731)
When crossgen2 is run with `Microsoft-ILCompiler-Perf` provider enabled, events are not named properly in PerfView (`Microsoft-ILCompiler-Perf/EventID(1)` instead of `Compilation/Start`) and an error event indicating multiple EventSource instances with the same GUID are enabled: ``` ERROR: Exception in Command Processing for EventSource Microsoft-ILCompiler-Perf: An instance of EventSource with Guid 607164a4-cacb-5f22-92fb-62a11541e285 already exists. ``` Name the dependency analysis EventSource `Microsoft-ILCompiler-Graph-Perf` to distinguish between the two.
1 parent 2444ad0 commit c78f333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/src/tools/crossgen2/ILCompiler.DependencyAnalysisFramework/PerfEventSource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/// </summary>
1111
namespace ILCompiler.DependencyAnalysisFramework
1212
{
13-
[EventSource(Name = "Microsoft-ILCompiler-Perf")]
13+
[EventSource(Name = "Microsoft-ILCompiler-Graph-Perf")]
1414
public class PerfEventSource : EventSource
1515
{
1616
private PerfEventSource() { }

0 commit comments

Comments
 (0)