https://bugs.kde.org/show_bug.cgi?id=495524

            Bug ID: 495524
           Summary: No CPU stats with RK3588 and other ARM cpus
    Classification: Frameworks and Libraries
           Product: ksystemstats
           Version: 6.2.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: plasma-b...@kde.org
          Reporter: jhanm...@ca.rr.com
                CC: ahiems...@heimr.nl
  Target Milestone: ---

Created attachment 175330
  --> https://bugs.kde.org/attachment.cgi?id=175330&action=edit
Patch to make cpu information available

SUMMARY

Left over issue after fix for crash in commit
#c5bc0067b31f6c2bdee127702c6cc4717c770808. There is no no crash, and while this
is great, the cpu stats are still missing. The attached patch corrects this
problem but you may prefer a different solution based on your knowledge of the
code.

While I've tested this only on a Rock-5b my examination of the /proc/cpuinfo on
an Odroid N2+ and a Raspberry Pi 4b+ indicates the same missing physical ID
that is at least one source of the problem. I added more conditionals to my
patch to be somewhat comprehensive and may have overdone it but it works.

STEPS TO REPRODUCE
1. Build latest ksystemstats
2. Try to view cpu stats on Rock-5b running latest kernel with Noble.

OBSERVED RESULT

No available CPU stats.

EXPECTED RESULT

CPU stats to choose for graphs.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma:  Linux rock-5b-3 6.1.75-vendor-rk35xx
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.8.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to