Intel® VTune™ Amplifier

Troubleshooting

This section describes known problems and questions you may encounter when analyzing your application with the Intel® VTune™ Amplifier, and suggests solutions.

Error Messages

Cause and Possible Solution

Stack size provided to sigaltstack is too small. Please increase the stack size to 64K minimum.

Cause

When setting up SIGPROF signal handler, the VTune Amplifier attempts to configure the signals to use the alternative stack size using sigaltstack() API to make sure that its signal handler does not depend on the stack size of the profiled application. If the application uses alternative signal stack itself, the VTune Amplifier requires that the alternative stack size is 64K at a minimum. This may be not the case if the application uses SIGSTKSZ constant for the alternative stack size (which is 8192 bytes). In this case, the data collection may terminate with the error message.

Solution

Configure the VTune Amplifier not to set up the alternative stack and use the stack provided by th application. To do this, pass the following command line options to the tool:

> amplxe-cl -run-pass-thru=--no-altstack

Or, set up the environment variable AMPLXE_RUNTOOL_OPTIONS=--no-alstack.

Application sets its own handler for signal <conflicting_signal> that is used for internal needs of the tool. Collection cannot continue.

Cause

User-mode sampling and tracing collector cannot profile applications that set up the signal handler for a signal used by the VTune Amplifier.

Solution

When collecting data with amplxe-cl, add the --run-pass-thru=--profiling-signal <not_used_signal> command line option, where <not_used_signal> is a signal that should not be used by your application to analyze; you need to select the signal from SIGRTMIN..SIGRTMAX.

Alternatively, you may set the environment variable AMPLXE_RUNTOOL_OPTIONS=--profiling-signal <not_used_signal>. You may do this, either from your terminal window before running the VTune Amplifier GUI or from the User-defined Environment Variables dialog box accessible from the VTune Amplifier Analysis Target tab.

Required key not available

Cause

For hardware event-based sampling analysis and Intel Energy Profiler analysis with VTune Amplifier for Systems, an Android system requires signed drivers. Every time the Android kernel is built, a random private/public key is generated. Drivers must be signed with the random private key to be loaded. The drivers must be signed with the same key and be compiled against the same kernel headers/sources as what is installed on the Android target system.

Solution

Make sure you use the same signing key that was produced at the time and on the system where your kernel was built for your target.

Problem accessing the sampling driver. The driver may need to be (re)started...

Cause

VTune Amplifier cannot access the hardware event-based sampling (EBS) driver required to run a hardware event-based sampling analysis type. This problem happens if the sampling driver was not loaded or you do not have correct permissions.

Solution

Make sure the sampling drivers are loaded:

> lsmod | grep sep3_1

> lsmod | grep pax

If the drivers are already loaded, make sure you are a member of the vtune user group. You can check the /etc/group file or contact your system administrator to find out if you are a member of this group. For more details, see the Building and Managing the Sampling Driver topic.

Cannot load data file...

Cause

The collected temporary data may have exceeded the current allocated or available global temporary storage space on a Linux target system.

Solution

Consider providing an alternative temporary directory for collected data.

You may also encounter the following problems: