summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-04-16 00:54:10 +0300
committerDarrick J. Wong <djwong@kernel.org>2024-04-16 00:54:10 +0300
commitee20808d848c87a51e176706d81b95a21747d6cf (patch)
treeadd477fbbb621a637f4b3cd163d6b68ff40dfc64 /tools/perf/scripts/python/stackcollapse.py
parent00acb28d96746f78389f23a7b5309a917b45c12f (diff)
downloadlinux-ee20808d848c87a51e176706d81b95a21747d6cf.tar.xz
xfs: create a new helper to return a file's allocation unit
Create a new helper function to calculate the fundamental allocation unit (i.e. the smallest unit of space we can allocate) of a file. Things are going to get hairy with range-exchange on the realtime device, so prepare for this now. Remove the static attribute from xfs_is_falloc_aligned since the next patch will need it. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions