OSDN Git Service

tools/power turbostat: Do not display an error on systems without a cpufreq driver
authorPrarit Bhargava <prarit@redhat.com>
Mon, 13 Aug 2018 12:45:01 +0000 (08:45 -0400)
committerLen Brown <len.brown@intel.com>
Thu, 21 Mar 2019 02:55:44 +0000 (22:55 -0400)
commit0a42d235e50d677775056324d0762dd102a9ebb0
tree92f495312d608fa2e5ae00115b06abb1f51e7875
parent6de68fe15a0fcd0e887d73bd7a549e4dc6446481
tools/power turbostat: Do not display an error on systems without a cpufreq driver

Running without a cpufreq driver is a valid case so warnings output in
this case should not be to stderr.

Use outf instead of stderr for these warnings.

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