Controlling Data Collection


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at Controlling Data Collection.

INCLUDEvsprvs] Profiling Tools enable you to control when profiling data is collected during a performance session and to specify the functions that are profiled. This section describes how to start and stop data collection from the Performance Explorer and Data Collection Control windows and how to limit the objects for which profiling data is collected.

TaskRelated Content
Start and stop profiling: You can start to profile an application when the application starts, or you can attach the profiler to a process that is already running. When the target application is running, you can pause and resume data collection. You end a profiling session by closing the target application or detaching the profiler from a running process.- How to: Start and End Performance Data Collection
- How to: Attach and Detach Performance Tools to Running Processes
- How to: Pause and Resume Performance Data Collection
Configure instrumentation profiling to limit the collected data: You can use performance session configuration properties to limit the data that is collected in profiling runs that use the instrumentation method. You can include or exclude specific .dll files, namespaces, classes, and functions. You can also exclude functions that do not meet a size threshold that you specify.- How to: Limit Instrumentation to Specific DLLs
- How to: Limit Instrumentation to Specific Functions
- How to: Exclude or Include Short Functions from Instrumentation

Configuring Performance Sessions

Performance Explorer