Поделиться через


How to: Create a Profiling Tools Call Trace Report

Note

This article applies to Visual Studio 2015. 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

The call trace report for the Visual Studio Profiling Tools lists timing information for each entry and exit point to your application's functions and each call to other functions by your function. Call trace reports are available for profiling data only if it was collected with the instrumentation method.

Note

You cannot display call trace reports in Visual Studio. You must use the VSPerfReport command-line tool to generate a comma-separated value (.csv) or Xml file. For more information about this tool, see VSPerfReport.

To create a call trace report

  1. Open a Command Promptine window.

  2. At the command prompt, type the following command:

    ToolsPath VSPerfReport VSPFile /CallTrace [/Xml]

    Command element Description
    ToolsPath The path of Profiling Tools command line tools. For more information, see Specifying the Path to Command Line Tools.
    VSPFile The profiling data (.vsp or .vsps) file. Full and partial paths are accepted.
    Xml Generates an Xml formatted report.

See Also

How to: Collect Event Tracing for Windows (ETW) Data
Profiling Tools APIs