fvogt created this revision. fvogt added a reviewer: Plasma. Restricted Application added a project: Plasma.
REVISION SUMMARY From kernel 4.13 on, /proc/cpuinfo always reports the static normative CPU clock and not the current one. So try to read the frequency from cpufreq and only fall back to cpuinfo it that fails. BUG: 382561 TEST PLAN Started ksysguard, frequency now changes. If the file is not readable, the frequency is read from cpuinfo as expected. REPOSITORY R106 KSysguard BRANCH Plasma/5.8 REVISION DETAIL https://phabricator.kde.org/D8153 AFFECTED FILES ksysguardd/Linux/cpuinfo.c To: fvogt, #plasma Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart