diff options
author | Thomas Gleixner <[email protected]> | 2016-11-22 17:57:06 +0000 |
---|---|---|
committer | Zhang Rui <[email protected]> | 2016-11-30 10:24:44 +0800 |
commit | 21a3d3d4c8f373054421443e244c75a94a40b1ae (patch) | |
tree | 036b8b71c35a3e2ad8eec7f0f4a08a0dfef59679 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 89baa56be7fad333db0a91198bf4026017ab737d (diff) |
thermal/x86_pkg_temp: Replace open coded cpu search
find_next_sibling() iterates over the online cpus and searches for a cpu
with the same package id as the current cpu. This is a pointless exercise
as topology_core_cpumask() allows a simple cpumask search for an online cpu
on the same package.
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Srinivas Pandruvada <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions