cpu plugin: fixed cpupower workaround
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
7088da1202
commit
f535dd52d9
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ class CPULatencyPlugin(base.Plugin):
|
|||
governor = l[2]
|
||||
break
|
||||
else:
|
||||
data = tuned.utils.commands.read_file("/sys/devices/system/cpu/%s/cpufreq/scaling_governor" % device, str(governor))
|
||||
data = tuned.utils.commands.read_file("/sys/devices/system/cpu/%s/cpufreq/scaling_governor" % device)
|
||||
if len(data) > 0:
|
||||
governor = data
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue