diff options
author | Len Brown <len.brown@intel.com> | 2012-03-30 06:19:58 +0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-03-30 06:27:19 +0400 |
commit | 15aaa34654831e98dd76f7738b6c7f5d05a66430 (patch) | |
tree | d4c4449fdba32e04f791bdc92fbd4042abb18d17 /drivers/acpi/osl.c | |
parent | 88c3281f7ba449992f7a33bd2452a8c6fa5503cb (diff) | |
download | linux-15aaa34654831e98dd76f7738b6c7f5d05a66430.tar.xz |
tools turbostat: harden against cpu online/offline
Sometimes users have turbostat running in interval mode
when they take processors offline/online.
Previously, turbostat would survive, but not gracefully.
Tighten up the error checking so turbostat notices
changesn sooner, and print just 1 line on change:
turbostat: re-initialized with num_cpus %d
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/osl.c')
0 files changed, 0 insertions, 0 deletions