Intel® VTune™ Amplifier

Problem: Incorrect Hardware Event-based Sampling Results If nmi_watchdog Interrupt Capability Is Enabled

Cause

If the nmi_watchdog interrupt capability is enabled, event-based analysis results may be incorrect. For example, when using a pause-resume scenario for event-based analysis on 64-bit Red Hat* Enterprise Linux* 6.1 with this feature enabled, no data will be collected when the collection is resumed.

Solution

Before running an event-based analysis, ensure that the nmi_watchdog interrupt capability, if available, is disabled.

To permanently disable the nmi_watchdog interrupt:

  1. Under the root account, edit /boot/grub/grub.conf by adding the nmi_watchdog=0 parameter to the kernel line so that it looks like: /boot/vmlinuz-2.6.32-131.0.15.el6.x86_64 ro root=/dev/sda8 panic=60 nmi_watchdog=0 2.

  2. Reboot the system.

  3. After rebooting, enter the following command to verify whether nmi_watchdog is disabled: grep NMI /proc/interrupts. If you see zeroes, nmi_watchdog is successfully disabled.

To temporarily disable the nmi_watchdog interrupt, enter:

echo 0 > /proc/sys/kernel/nmi_watchdog

See Also