tools/power turbostat: fix output buffering issue
authorLen Brown <len.brown@intel.com>
Fri, 30 Nov 2012 06:01:40 +0000 (01:01 -0500)
committerLen Brown <len.brown@intel.com>
Fri, 30 Nov 2012 06:09:43 +0000 (01:09 -0500)
commitddac0d6872b15fc5311d44021b8898ec6720bdec
treeae47e7ded71d155bacaca68b8d082414662b3de5
parente52966c084f9d9ea12be2ac7df801d610d4a19a5
tools/power turbostat: fix output buffering issue

In periodic mode, turbostat writes to stdout,
but users were un-able to re-direct stdout, eg.

turbostat > outputfile

would result in an empty outputfile.

Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c