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
Copy file name to clipboardExpand all lines: docs/profiling/profile-apps-from-command-line.md
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,8 @@ In the example described in this article, you collect performance information fo
28
28
29
29
* Familiarity with command-line tools
30
30
31
+
* To collect performance information on a remote machine without Visual Studio installed, install the [Performance Tools for Visual Studio](https://visualstudio.microsoft.com/downloads#remote-tools-for-visual-studio-2019) on the remote machine. The version of the tools must match your version of Visual Studio.
32
+
31
33
## Collect performance data
32
34
33
35
Profiling using the Visual Studio Diagnostics CLI tools works by attaching the profiling tool, along with one of the collector agents, to a process. When you attach the profiling tool, you begin a diagnostic session that captures and stores profiling data until the tool is stopped, at which point that data is exported into a *.diagsession* file. Then you can open this file in Visual Studio to analyze results.
@@ -66,7 +68,16 @@ Collection Agents are interchangeable components that collect different types of
66
68
67
69
For convenience, you can store that information in an agent configuration file. The configuration file is a *.json* file that contains at minimum the name of the *.dll* and its COM CLSID. Here are the example configuration files that you can find in the following folder:
68
70
69
-
```<Visual Studio installation folder>\2019\Preview\Team Tools\DiagnosticsHub\Collector\AgentConfigs\```
71
+
```<Visual Studio installation folder>Team Tools\DiagnosticsHub\Collector\AgentConfigs\```
72
+
73
+
Please see the following links to agent configuration files:
* CpuUsage configurations (Base/High/Low), which corresponds to data collected for the [CPU Usage](../profiling/cpu-usage.md) profiling tool.
72
83
* DotNetObjectAlloc configurations (Base/Low), which corresponds to data collected for the [.NET Object Allocation tool](https://devblogs.microsoft.com/visualstudio/visual-studio-2017-version-15-8-preview-3/#tooling).
0 commit comments