diff options
author | 2015-03-16 12:00:51 +0000 | |
---|---|---|
committer | 2015-05-04 21:27:54 -0700 | |
commit | dd658e02357ec879edd0c62ee1f3a19c92b0b027 (patch) | |
tree | 7902429108c8910d4cff06a0887be36ccc190b29 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | thermal: cpu_cooling: Remove cpu_dev update on policy CPU update (diff) | |
download | linux-dev-dd658e02357ec879edd0c62ee1f3a19c92b0b027.tar.xz linux-dev-dd658e02357ec879edd0c62ee1f3a19c92b0b027.zip |
thermal: cpu_cooling: Fix power calculation when CPUs are offline
Ensure that the CPU for which the frequency is being requested
is online. If none of the CPUs are online the requested power is
returned as 0.
Acked-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions