aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTom Lendacky <[email protected]>2017-10-20 09:30:50 -0500
committerThomas Gleixner <[email protected]>2017-11-07 15:35:57 +0100
commit4ac2aed837cbdbb21c12a28c04718e34c1dc225f (patch)
tree964a4e5bdb4825eabdfc0ae8b4acaf72adb88b64 /tools/perf/scripts/python
parent1379edd5967346a1fa79b8dc3e9ca261576c6bc9 (diff)
resource: Consolidate resource walking code
The walk_iomem_res_desc(), walk_system_ram_res() and walk_system_ram_range() functions each have much of the same code. Create a new function that consolidates the common code from these functions in one place to reduce the amount of duplicated code. Signed-off-by: Tom Lendacky <[email protected]> Signed-off-by: Brijesh Singh <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Borislav Petkov <[email protected]> Tested-by: Borislav Petkov <[email protected]> Cc: [email protected] Cc: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions