From adbdb8f4b268bd35a3ab31a424e2220cc896b7d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Wed, 23 Oct 2013 11:07:22 +0200 Subject: [PATCH] plugin_cpu: consolidated some log messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jaroslav Škarvada --- tuned/plugins/plugin_cpu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tuned/plugins/plugin_cpu.py b/tuned/plugins/plugin_cpu.py index ad94289..7fb3294 100644 --- a/tuned/plugins/plugin_cpu.py +++ b/tuned/plugins/plugin_cpu.py @@ -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