aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorLiam R. Howlett <[email protected]>2023-01-20 11:26:38 -0500
committerAndrew Morton <[email protected]>2023-02-09 16:51:36 -0800
commitcc8d1b097de78bd25b7b1ed32018b21cecbf3f6c (patch)
treeb6b7cf6fdeddfa5ca6554255c1278a414c1766b3 /tools/perf/scripts/python/flamegraph.py
parentb373037fa9bb374f26bbabc0779fe990d02d33b7 (diff)
mmap: clean up mmap_region() unrolling
Move logic of unrolling to the error path as apposed to duplicating it within the function body. This reduces the potential of missing an update to one path when making changes. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Liam R. Howlett <[email protected]> Cc: Li Zetao <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions