aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-10-23 15:37:23 +0200
committerCarlos Maiolino <[email protected]>2024-10-30 11:27:18 +0100
commit81a1e1c32ef474c20ccb9f730afe1ac25b1c62a4 (patch)
tree239ac6892f198ca198ad7bcec7291a0317cee020 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentdc60992ce76fbc2f71c2674f435ff6bde2108028 (diff)
xfs: streamline xfs_filestream_pick_ag
Directly return the error from xfs_bmap_longest_free_extent instead of breaking from the loop and handling it there, and use a done label to directly jump to the exist when we found a suitable perag structure to reduce the indentation level and pag/max_pag check complexity in the tail of the function. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions