[PATCH 19/31] perf, x86: Support for printing PMU state on spurious PMIs v2

2012-10-02 Thread Andi Kleen
From: Andi Kleen I had some problems with spurious PMIs, so print the PMU state on a spurious one. This will not interact well with other NMI users. Disabled by default, has to be explicitely enabled through sysfs. Optional, but useful for debugging. v2: Move to /sys/devices/cpu Signed-off-by:

[PATCH 19/31] perf, x86: Support for printing PMU state on spurious PMIs v2

2012-10-02 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com I had some problems with spurious PMIs, so print the PMU state on a spurious one. This will not interact well with other NMI users. Disabled by default, has to be explicitely enabled through sysfs. Optional, but useful for debugging. v2: Move to