aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-09-01 15:51:19 +0100
committerDavid Sterba <dsterba@suse.com>2025-09-23 08:49:20 +0200
commitb343047c1a08779efb0d2691a8c6391318025cc6 (patch)
tree89ac3c892efc5f3319b1a63c372cdf50a87155bb /tools/perf/scripts/python/stackcollapse.py
parentbtrfs: avoid unnecessary path allocation at fixup_inode_link_count() (diff)
downloadlinux-b343047c1a08779efb0d2691a8c6391318025cc6.tar.gz
linux-b343047c1a08779efb0d2691a8c6391318025cc6.zip
btrfs: avoid path allocations when dropping extents during log replay
We can avoid a path allocation in the btrfs_drop_extents() calls we have at replay_one_extent() and replay_one_buffer() by passing the path we already have in those contextes as it's unused by the time they call btrfs_drop_extents(). 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions