summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2026-04-20 11:44:07 +0100
committerDavid Sterba <dsterba@suse.com>2026-06-08 15:53:30 +0200
commita6df0dcc23ac8be8dfb233ea7367071c1f2c9cf4 (patch)
tree782f72a8e46b661b6efa083972a52796b8789e95 /tools/perf/scripts/python/bin/stackcollapse-report
parent2d1e969b44f56b895b5df3ee3e4c8eb35c4916ac (diff)
btrfs: use the enums instead of int type in struct btrfs_block_group fields
The 'disk_cache_state' and 'cached' fields are defined with an int type but all the values we assigned to them come from the enums btrfs_disk_cache_state and btrfs_caching_type. So change the type in the btrfs_block_group structure from int to these enums - in practice an enum is an int, so this is more for readability and clarity. Reviewed-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Sun YangKai <sunk67188@gmail.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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions