Intel® VTune™ Amplifier XE and Intel® VTune™ Amplifier for Systems Help

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.

Actions Modified

collect, finalizeimportreport

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.

$ amplxe-cl -collect hotspots -call-stack-mode all -- myApp

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.

$ amplxe-cl -report hotspots -group-by function -call-stack-mode user-plus-one

See Also