diff options
| author | Len Brown <[email protected]> | 2012-03-30 02:19:58 +0000 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2012-03-30 02:27:19 +0000 |
| commit | 15aaa34654831e98dd76f7738b6c7f5d05a66430 (patch) | |
| tree | d4c4449fdba32e04f791bdc92fbd4042abb18d17 /lib/string_helpers.c | |
| parent | tools turbostat: reduce measurement overhead due to IPIs (diff) | |
| download | kernel-15aaa34654831e98dd76f7738b6c7f5d05a66430.tar.gz kernel-15aaa34654831e98dd76f7738b6c7f5d05a66430.zip | |
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 <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
