summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-03-28 23:15:59 +0300
committerRob Herring <robh@kernel.org>2023-04-14 01:46:35 +0300
commitb50c788a56964a900ebcc817c8a5ad35ddad87b6 (patch)
tree979111f2e492fe935904e94bc84f7a54176544d5 /tools/perf/scripts/python/export-to-sqlite.py
parent3d5089c4263d3594dc055e0f9c5cb990505cdd64 (diff)
downloadlinux-b50c788a56964a900ebcc817c8a5ad35ddad87b6.tar.xz
of/address: Add of_range_count() helper
Some users need a count of the number of ranges entries before iterating over the entries. Typically this is for allocating some data structure based on the size. Add a helper, of_range_count(), to get the count. The helper must be called with an struct of_range_parser initialized by of_range_parser_init(). Link: https://lore.kernel.org/r/20230328-dt-address-helpers-v1-4-e2456c3e77ab@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions