aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2018-08-22 15:04:40 -0500
committerRob Herring <[email protected]>2018-09-28 14:25:58 -0500
commitf1f207e43b8a49ac2ee3c36a64de1f84651c6079 (patch)
tree0989fbb86c45ef7635bd7a1964e2fc615a5209fc /tools/perf/scripts/python/syscall-counts.py
parentf6707fd6241e483f6fea2caae82d876e422bb11a (diff)
of: Add cpu node iterator for_each_of_cpu_node()
Iterating thru cpu nodes is a common pattern. Create a common iterator which can find child nodes either by node name or device_type == cpu. Using the former will allow for eventually dropping device_type properties which are deprecated for FDT. Cc: Frank Rowand <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions