Creating Basic Profiling Reports from the Command Line

This topic describes the basic VSPerfReport commands that generate comma-separated value (.csv) reports from a .vsp or .vsps profiling data file. For a description of all report options, see VSPerfReport.

Report Commands

Use one of the following commands to create a report for a specified profiling data file.

  • VSPerfReport VSPFile /Summary:All
    Generates all reports available for the .vsp or .vsps file.

  • VSPerfReport VSPFile **/Summary:**ReportType[,ReportType...]
    Generates the specified report types.

  • VSPerfReport VSPFile /CallTrace
    Generates a report that lists each data collection event. Instrumentation only.

Summary Report Type Parameters

The following table describes the reports that are generated by the specified report type option. The columns of a report depend on the profiling method that was used to collect the data.

Summary Parameter

Report Description

Report Reference

CallerCallee

Represents parent/child relationships between functions.

Function

Lists profiling data by function.

CallTree

Represents the execution paths and profiling data of functions in the profiling run.

Counter

Lists profiling marks and Windows performance counter values that were collected during the profiling run.

Ip

Lists profiling data by instruction.

Life

Lists the lifetime of allocated objects.

Line

Lists profiling data by source code line.

Header

Profiling data file header information.

Specific to file.

Mark

Profiling marks collected in the profiling run.

Module

Lists profiling data for modules.

Process

Lists profiling data for processes.

Thread

Lists profiling data for threads.

Type

Lists allocation profiling data by type.

Contention

Resource contentions.

RuleWarnings

Lists performance rule issues.

  • Lists the CheckId, description, and source code location of the rule issue.

ETW

Lists Event Tracing for Windows (ETW) events collected in the profiling run.