From: Len Brown Date: Fri, 30 Mar 2012 02:19:58 +0000 (-0400) Subject: tools turbostat: harden against cpu online/offline X-Git-Tag: v3.4-rc1~18^2~3^11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15aaa34654831e98dd76f7738b6c7f5d05a66430;p=pandora-kernel.git 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 --- Reading git-diff-tree failed