aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2021-12-02 10:30:38 +0000
committerDavid Sterba <dsterba@suse.com>2022-01-07 14:18:23 +0100
commit109324cfda067b84b948002584849a02dd0a6641 (patch)
treee6e4d9bf3f3b270366790886ff1a43bd0d1a68b1 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentbtrfs: remove useless condition check before splitting leaf (diff)
downloadlinux-dev-109324cfda067b84b948002584849a02dd0a6641.tar.xz
linux-dev-109324cfda067b84b948002584849a02dd0a6641.zip
btrfs: move leaf search logic out of btrfs_search_slot()
There's quite a significant amount of code for doing the key search for a leaf at btrfs_search_slot(), with a couple labels and gotos in it, plus btrfs_search_slot() is already big enough. So move the logic that does the key search on a leaf into a new helper function. This makes it better organized, removing the need for the labels and the gotos, as well as reducing the indentation level and the size of btrfs_search_slot(). Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions