Skip to content

Commit 062b6c8

Browse files
Keep ActivityId correlations in ETW
With `/OnlyProviders`, the done-for-us `ActivityId`/`RelatedActivityId` correlations aren't done for us, and it's hard to, for example, correlate a task back to the target it's in.
1 parent ee511a9 commit 062b6c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/specs/event-source.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ EventSource is primarily used to profile code. For MSBuild specifically, a major
4545

4646
One can run MSBuild with eventing using the following command:
4747

48-
`PerfView /OnlyProviders=*Microsoft-Build run MSBuild.exe <project to build>`
48+
`PerfView /Providers=*Microsoft-Build run MSBuild.exe <project to build>`
4949

5050
For example, if PerfView is one level up from my current directory (which has MSBuild.exe), and I want to build MSBuild.sln on Windows, I would use the following command:
5151

0 commit comments

Comments
 (0)