[PATCH] x86: Add a cumulative thermal throttle event counter.

The counter is exported to /sys that keeps track of the
number of thermal events, such that the user knows how bad the
thermal problem might be (since the logging to syslog and mcelog
is rate limited).

AK: Fixed cpu hotplug locking

Signed-off-by: Dmitriy Zavin <dmitriyz@google.com>
Signed-off-by: Andi Kleen <ak@suse.de>
This commit is contained in:
Dmitriy Zavin 2006-09-26 10:52:42 +02:00 • committed by Andi Kleen
commit 3222b36f46
4 changed files with 136 additions and 6 deletions