User Guide

Intel® VTune™ Profiler User Guide

ID 766319
Date 11/07/2023
Public

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

Document Table of Contents

stack-size

Specify the size of a raw stack (in bytes) to process.

GUI Equivalent

Custom Analysis

Syntax

-stack-size=<value in bytes>

Arguments

Possible <value>: numbers between 0 and 2147483647

Default

0

The stack size is unlimited.

NOTE:

For driverless sampling collection, the default value is 1024 bytes.

Actions Modified

collect-with

Description

When you configure a customhardware event-based sampling collection, you may reduce the collection overhead and limit the stack size (in bytes) processed by the VTune Profiler by using the -stack-size option.

Example

This example configures and runs a custom event-based sampling data collection with the stack size limited to 8192 bytes:

vtune -collect-with runsa -knob enable-stack-collection=true -knob stack-size=8192 -knob enable-call-counts=true -knob event-config=CPU_CLK_UNHALTED.REF_TSC:sa=1800000,CPU_CLK_UNHALTED.THREAD:sa=1800000,INST_RETIRED.ANY:sa=1800000 -app-working-dir /home/samples/nqueens_fortran -- /home/samples/nqueens_fortran/nqueens_parallel