User Guide

Intel® VTune™ Profiler User Guide

ID 766319
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

call-stack-mode

Choose how to show system functions in the call stack.

GUI Equivalent

Toolbar: Filter > Call Stack Mode menu

Syntax

-call-stack-mode <value>

Arguments

<value> - Type of call stack display. The following values are available:

Argument

Description

all

Display both system and user functions.

user-only

Show user functions only.

user-plus-one

Show user functions and system functions called directly from user functions.

Default

user-plus-one

Collected data is attributed to user functions and system functions called directly from user functions.

Description

Use the call-stack-mode option when performing data collection, finalization or importation, to set call stack data attribution for the result or report. If set for collection, finalization or importation, this sets the default view when the result is opened in the GUI, and applies to any reports unless overridden in the command used to generate the report.

Example

Generate a hotspots result and include system as well as user functions in the call stack. This is now the project-level setting, and if the result is viewed in the GUI, the call stack shows both user functions and system functions.

vtune -collect hotspots -call-stack-mode all -- myApp.exe

This command generates a hotspots report from the most recent hotspots analysis result, groups the result data by function, and then overrides the project-level setting so that the call stack shows user functions plus system functions called directly from user functions.

vtune -report hotspots -group-by function -call-stack-mode user-plus-one