Visible to Intel only — GUID: GUID-D2C02C70-18DC-4615-AD40-5BA6F6246D89
Visible to Intel only — GUID: GUID-D2C02C70-18DC-4615-AD40-5BA6F6246D89
stack-size
Specify the size of a raw stack (in bytes) to process.
GUI Equivalent
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
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