Handle reading /proc/cpuinfo for Arm processors

Review Request #128084 - Created June 3, 2016 and submitted

Information
David Edmundson
solid
master
a7a6b79...
Reviewers
kdeframeworks, solid

The /proc/cpuinfo format is wildly different between architectures, our
current method for scraping data only works on x86.

This patch moves all parsing logic into cpuinfo.cpp and adds a fallback
search that works for arm and arm64 architectures.

----
https://github.com/torvalds/linux/blob/master/arch/x86/kernel/cpu/proc.c#L55

https://github.com/torvalds/linux/blob/master/arch/arm64/kernel/cpuinfo.c#L104


  

Issues

  • 1
  • 0
  • 0
  • 1
Description From Last Updated
This extracts the current cpu speed, not the maximum. Is that what you want? Yes then I think you should ... Lamarque Souza Lamarque Souza
David Edmundson
Rohan Garg
Lamarque Souza
David Edmundson
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 9870418bf299e3c6aede79c81c13cd07bba8e6e7 by David Edmundson to branch master.
Loading...