https://bugs.kde.org/show_bug.cgi?id=493093
--- Comment #3 from Jonathan L Hanmann <jhanm...@ca.rr.com> --- Comment on attachment 173659 --> https://bugs.kde.org/attachment.cgi?id=173659 Patch to ksystemstats/plugins/cpu/linuxcpuplugin.cpp diff --git a/plugins/cpu/linuxcpuplugin.cpp b/plugins/cpu/linuxcpuplugin.cpp index 6c01e40..ba1b385 100644 --- a/plugins/cpu/linuxcpuplugin.cpp +++ b/plugins/cpu/linuxcpuplugin.cpp @@ -90,10 +90,17 @@ LinuxCpuPluginPrivate::LinuxCpuPluginPrivate(CpuPlugin *q) info.frequency = value.toDouble(); } else if (field == "siblings") { info.siblings = value.toInt(); - } + } else if (field == "Serial") + break; } - cpus.push_back(info); + if((info.id != -1) || + (info.cpu != -1) || + (info.core != -1) || + (info.frequency != 0) || + (info.siblings != -1)) { + cpus.push_back(info); + } cpuCount = std::max(cpuCount, info.cpu); } -- You are receiving this mail because: You are watching all bug changes.