diff options
author | 2015-06-30 13:56:56 +0100 | |
---|---|---|
committer | 2015-07-27 11:08:38 +0100 | |
commit | d09ce834dfffd93aa4586b3e07faaf901ee8706f (patch) | |
tree | 34de1308aa1e53b8cc2ad0a875a9c1d4429bdc0c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm64: perf: Remove unnecessary printk (diff) | |
download | linux-dev-d09ce834dfffd93aa4586b3e07faaf901ee8706f.tar.xz linux-dev-d09ce834dfffd93aa4586b3e07faaf901ee8706f.zip |
arm64: perf: replace arch_find_n_match_cpu_physical_id with of_cpu_device_node_get
arch_find_n_match_cpu_physical_id parses the device tree to get the
device node for a given logical cpu index. However, since ARM PMUs get
probed after the CPU device nodes are stashed while registering the
cpus, we can use of_cpu_device_node_get to avoid another DT parse.
This patch replaces arch_find_n_match_cpu_physical_id with
of_cpu_device_node_get to reuse the stashed value directly instead.
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions