Condividi tramite


How to: Create a profiling tools call trace report

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

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 Prompt window.

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

    ToolsPath VSPerfReport VSPFile /CallTrace [/Xml]

    Item Description
    ToolsPath The path of Profiling Tools command-line tools. For more information, see Specify 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