From: Robert Richter Date: Mon, 3 May 2010 12:41:22 +0000 (+0200) Subject: oprofile/x86: stop disabled counters in nmi handler X-Git-Tag: v2.6.35-rc1~523^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de654649737696ecf32873c341b305e30f3dc777;p=pandora-kernel.git oprofile/x86: stop disabled counters in nmi handler This patch adds checks to the nmi handler. Now samples are only generated and counters reenabled, if the counters are running. Otherwise the counters are stopped, if oprofile is using the nmi. In other cases it will ignore the nmi notification. Cc: Andi Kleen Signed-off-by: Robert Richter --- Reading git-diff-tree failed