diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-11-04 07:19:45 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-11-06 00:38:47 +0300 |
commit | 13877bc79d81354c53e91f3c86ac0f7bafe3ba7b (patch) | |
tree | 483b75202343dcbc9d3f63e0c48584323e6d6cbb /tools/perf/scripts/python/gecko.py | |
parent | 131a883fffb1a194957dc0e400d9f627c7cd1924 (diff) | |
download | linux-13877bc79d81354c53e91f3c86ac0f7bafe3ba7b.tar.xz |
xfs: port ondisk structure checks from xfs/122 to the kernel
Check this with every kernel and userspace build, so we can drop the
nonsense in xfs/122. Roughly drafted with:
sed -e 's/^offsetof/\tXFS_CHECK_OFFSET/g' \
-e 's/^sizeof/\tXFS_CHECK_STRUCT_SIZE/g' \
-e 's/ = \([0-9]*\)/,\t\t\t\1);/g' \
-e 's/xfs_sb_t/struct xfs_dsb/g' \
-e 's/),/,/g' \
-e 's/xfs_\([a-z0-9_]*\)_t,/struct xfs_\1,/g' \
< tests/xfs/122.out | sort
and then manual fixups.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions