stack-size
Specify the size of a raw stack (in
bytes) to process.
GUI Equivalent
Syntax
-stack-size=
<value in bytes>
Arguments
Possible
<
: numbers between 0 and 2147483647
value
>Default
- 0
- The stack size is unlimited.For driverless sampling collection, the default value is 1024 bytes.
Actions Modified
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
by using the
Profiler
-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