Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (34 sloc) 2.42 KB
title ms.date ms.prod ms.technology ms.topic f1_keywords helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
How to: Specify Additional Instrumentation Options | Microsoft Docs
11/15/2016
visual-studio-dev14
vs-ide-debug
conceptual
vs.performance.property.advanced
instrumentation, options
profiling tools, session options
performance sessions, options
639afe26-8335-4bd4-8aa5-f2c607b81f07
21
MikeJo5000
mikejo
jillfra

How to: Specify Additional Instrumentation Options

[!INCLUDEvs2017banner]

You can instrument binaries from the [!INCLUDEvs_current_short] integrated development environment (IDE) or by using command line tools. If you instrument a binary from within the IDE, you can control the volume of data that is collected during instrumentation by specifying additional instrumentation options to the VSInstr tool. These options are available at the session or the target level. For example, to include or exclude specific functions during the instrumentation process, use the additional instrumentation option at the target level.

Requirements

[!IMPORTANT] Every probe that is inserted modifies the behavior of the original program slightly. This modification causes overhead at analysis time. Even though an approximation of this overhead is subtracted, it still has subtle timing effects on multithreaded applications. The VSInstr tool options help control data collection during profiling.

To specify additional instrumentation option

  1. In Performance Explorer, select the Performance Session and then right-click and select Properties.

  2. In the Properties Pages, click the Advanced properties.

  3. Type options in the Additional instrumentation options box.

    For example, use /CONTROL:THREAD to specify the profiling level. For a complete list of options, see VSInstr.

  4. Click OK.

See Also

Configuring Performance Sessions
Profiling from the Command-Line

You can’t perform that action at this time.