diff options
author | 2013-10-03 17:24:51 -0400 | |
---|---|---|
committer | 2013-10-15 20:09:10 +0100 | |
commit | d1cb9d1af0bc11b7450a6032f43935c746609418 (patch) | |
tree | 061b56dbd9e656730262445b373bacd399c0678e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | of: fix unnecessary warning on missing /cpus node (diff) | |
download | linux-dev-d1cb9d1af0bc11b7450a6032f43935c746609418.tar.xz linux-dev-d1cb9d1af0bc11b7450a6032f43935c746609418.zip |
of: Make cpu node handling more portable.
Use for_each_node_by_type() to iterate all cpu nodes in the
system.
Provide and overridable function arch_find_n_match_cpu_physical_id,
which sees if the given device node matches 'cpu' and if so sets
'*thread' when non-NULL to the cpu thread number within the core.
The default implementation behaves the same as the existing code.
Add a sparc64 implementation.
Signed-off-by: David S. Miller <davem@davemloft.net>
Tested-by: Sudeep KarkadaNagesha <Sudeep.KarkadaNagesha@arm.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions