How to: Create a Profiling Tools Call Trace Report

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

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.

System_CAPS_ICON_note.jpg 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]

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

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

Show: