1
0
Fork 0

plugin_cpu: consolidated some log messages

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2013-10-23 11:07:22 +02:00
parent 59e259a3ce
commit adbdb8f4b2

View file

@ -53,9 +53,9 @@ class CPULatencyPlugin(base.Plugin):
if retcode == 0:
self._has_energy_perf_bias = True
elif retcode == -1:
log.warning("ignoring CPU energy performance bias, please install x86_energy_perf_policy tool (from kernel-tools package) to enable this functionality")
log.warning("error executing x86_energy_perf_policy tool, ignoring CPU energy performance bias, is the tool installed?")
else:
log.warning("ignoring CPU energy performance bias, your CPU doesn't support MSR_IA32_ENERGY_PERF_BIAS")
log.warning("your CPU doesn't support MSR_IA32_ENERGY_PERF_BIAS, ignoring CPU energy performance bias")
def _instance_init(self, instance):
instance._has_static_tuning = True