1
0
Fork 0

Merge pull request #621 from adriaan42/adriaan/info_on_missing_pm_qos

plugin_cpu: decrease the severity of _has_pm_qos==False
This commit is contained in:
Jaroslav Škarvada 2024-05-23 14:02:28 +02:00 committed by GitHub
commit 7d8f11ace2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -325,7 +325,7 @@ class CPULatencyPlugin(hotplug.Plugin):
try:
self._cpu_latency_fd = os.open(consts.PATH_CPU_DMA_LATENCY, os.O_WRONLY)
except OSError:
log.error("Unable to open '%s', disabling PM_QoS control" % consts.PATH_CPU_DMA_LATENCY)
log.info("Unable to open '%s', disabling PM_QoS control" % consts.PATH_CPU_DMA_LATENCY)
self._has_pm_qos = False
self._latency = None