Age | Commit message (Collapse) | Author |
|
Added GPLv2 copyright headers.
|
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
We read cpu top[ology info from /sys/devices/system/cpuX/topology.
Packed them into cpu_topology struct. And print in next format.
clusterA:
coreX
cpuA
cpuB
coreY
cpuC
cpuD
clusterB:
coreS
cpuE
cpuF
coreT
cpuG
cpuH
...
When cpu topology info could be read, CPU idle state is shown
ordered by topology.
When cpu topology info could not be read, CPU idle state is shown
in old order.
Signed-off-by: Shaojie Sun <shaojie.sun@linaro.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
As idlestat code will be large, we can't put all codes in one file.
So we seperated file operation codes into utils file.
And we put trace function codes into trace file.
Signed-off-by: Shaojie Sun <shaojie.sun@linaro.com>
|
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|