Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit eb98a357 authored by Lakshman Annadorai's avatar Lakshman Annadorai
Browse files

Read cpusets and max CPU frequencies from devfs and sysfs.

Cpuset information and max CPU frequencies don't change after system bootup.
So, read them only once during init.

If these information are not available, the reader cannot generate CPU info.
So, disable the collector when these cannot be read.

Unit tests are added in one of the following changes.

Test: m
Bug: 217422127
Bug: 242722241

Change-Id: Icc201b65fdfe054da5258e8136750d518182d207
(cherry picked from commit 6a9c8e6063dc8503be23f6f9d94b5a04fafe0c09)
parent f2fd2ca1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment