You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Console.WriteLine("The collect-linux verb is a new preview feature and relies on an updated version of the");
56
67
Console.WriteLine(".nettrace file format. The latest PerfView release supports these trace files but other");
@@ -117,6 +128,8 @@ public static Command CollectLinuxCommand()
117
128
CommonOptions.ProfileOption,
118
129
CommonOptions.OutputPathOption,
119
130
CommonOptions.DurationOption,
131
+
CommonOptions.NameOption,
132
+
CommonOptions.ProcessIdOption
120
133
};
121
134
collectLinuxCommand.TreatUnmatchedTokensAsErrors=true;// collect-linux currently does not support child process tracing.
122
135
collectLinuxCommand.Description="Collects diagnostic traces using perf_events, a Linux OS technology. collect-linux requires admin privileges to capture kernel- and user-mode events, and by default, captures events from all processes. This Linux-only command includes the same .NET events as dotnet-trace collect, and it uses the kernel’s user_events mechanism to emit .NET events as perf events, enabling unification of user-space .NET events with kernel-space system events.";
@@ -135,7 +148,9 @@ public static Command CollectLinuxCommand()
0 commit comments