diff options
author | Tuukka Tikkanen <idlestat@tic0.net> | 2015-01-28 16:28:48 +0200 |
---|---|---|
committer | Amit Kucheria <amit.kucheria@linaro.org> | 2015-03-10 02:30:28 +0530 |
commit | fed11f249681a6770a1efed5cc2a9ccacf199882 (patch) | |
tree | 2cddacd42fbdf16dcfcb6bb7ef65c0ab3f96635c /comparison_report.c | |
parent | 10aa039b937e40ad08bb0207b5ad5eb05bd354c2 (diff) |
Handle offline cpus gracefully
Several parts of idlestat code did not cope with some cpu(s)
being offline. This patch adds information to cpu topology
data structure to record online status. Online-sensitive
parts of the code may query the status using is_cpu_online()
and skip performing activities related to offline cpus.
The following activities are skipped of cpu is offline:
- Trace: Obtaining initial frequency
- Trace: Storing initial frequency
- Trace: Adding pseudo pstate transition 0 Hz to end of trace
- Trace: Storing cpu C-state information
- Tracefile_idlestat: Reading cpu C-state information
- Topology: Mapping "datas" to "topology"
Signed-off-by: Tuukka Tikkanen <idlestat@tic0.net>
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Diffstat (limited to 'comparison_report.c')
0 files changed, 0 insertions, 0 deletions