aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2020-03-05 14:49:29 +0800
committerDavid Sterba <[email protected]>2020-05-25 11:25:18 +0200
commite7d571c7b004dc20f385d53d0c89e99d078e0415 (patch)
treec809159a793d584e855fbf03b9bc7bc543145c08 /tools/perf/scripts/python
parent0304f2d8cce7fc23baf9e005c095beff7a29847d (diff)
btrfs: reloc: remove the open-coded goto loop for breadth-first search
build_backref_tree() uses "goto again;" to implement a breadth-first search to build backref cache. This patch will extract most of its work into a wrapper, handle_one_tree_block(), and use a do {} while() loop to implement the same thing. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions