aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2022-10-27 13:07:05 +0200
committerDavid Sterba <dsterba@suse.com>2022-12-05 18:00:48 +0100
commitee5f017dccc79e5a9b442ca473631a53e1e7e376 (patch)
tree976ab98bf0a3f16bbc75e09632bc6fcd63883150 /tools/perf/scripts/python/bin/stackcollapse-report
parentbtrfs: switch extent_page_data bit fields to bools (diff)
downloadlinux-ee5f017dccc79e5a9b442ca473631a53e1e7e376.tar.gz
linux-ee5f017dccc79e5a9b442ca473631a53e1e7e376.zip
btrfs: merge struct extent_page_data to btrfs_bio_ctrl
The two structures appear on the same call paths, btrfs_bio_ctrl is embedded in extent_page_data and we pass bio_ctrl to some functions. After merging there are fewer indirections and we have only one control structure. The packing remains same. The btrfs_bio_ctrl was selected as the target structure as the operation is closer to bio processing. Structure layout: struct btrfs_bio_ctrl { struct bio * bio; /* 0 8 */ int mirror_num; /* 8 4 */ enum btrfs_compression_type compress_type; /* 12 4 */ u32 len_to_stripe_boundary; /* 16 4 */ u32 len_to_oe_boundary; /* 20 4 */ btrfs_bio_end_io_t end_io_func; /* 24 8 */ bool extent_locked; /* 32 1 */ bool sync_io; /* 33 1 */ /* size: 40, cachelines: 1, members: 8 */ /* padding: 6 */ /* last cacheline: 40 bytes */ }; Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions