Condividi tramite


How to: Relocate instrumented binaries

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

During instrumentation, probes are inserted into the binary to measure application performance. By choosing to relocate the instrumented binary, a copy of the original binary is instrumented and put in the specified location. This option is useful if you do not want the profiler to rename your original binary. If the binary is not relocated, the original version of the binary is overwritten.

To relocate instrumented binary

  1. In Performance Explorer, right-click the performance session, and then click Properties.

  2. In the Property Pages, click the Binary properties.

  3. Select the Relocate instrumented binaries check box.

  4. Specify the location for the instrumented binary.

See also

Configure performance sessions VSInstr