]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_logprint: print log data to the screen in host-endian order
authorDarrick J. Wong <djwong@kernel.org>
Tue, 20 Jan 2026 17:51:04 +0000 (09:51 -0800)
committerAndrey Albershteyn <aalbersh@kernel.org>
Tue, 27 Jan 2026 16:59:35 +0000 (17:59 +0100)
commit9547c3f44e641ca15eec27af925d85c3986f9c62
tree2ebe030ca76f7c8a5369afad8f5ffcc90078f67d
parent81bedc02de7d8651551358631e8f2eea0682f30e
xfs_logprint: print log data to the screen in host-endian order

Add a cli option so that users won't have to byteswap u32 values when
they're digging through broken logs on little-endian systems.  Also make
it more obvious which column is the offset and which are the byte(s).

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
logprint/log_print_all.c
logprint/logprint.c
logprint/logprint.h
man/man8/xfs_logprint.8