]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: pass objects to the xfs_irec_merge_{pre,post} trace points
authorChristoph Hellwig <hch@lst.de>
Mon, 25 Nov 2024 21:14:13 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:23 +0000 (18:01 -0800)
commit0601845b215f72ebe7ee1361ff48809ed4296f73
treeeb3b78852ff7225225777a7a721d84f4e42c9c06
parent50fe5d5393e0dc7f02ef4b2071619431be85927e
xfs: pass objects to the xfs_irec_merge_{pre,post} trace points

Source kernel commit: 487092ceaa72448ca3a82ea9fb89768c88f6abec

Pass the perag structure and the irec to these tracepoints so that the
decoding is only done when tracing is actually enabled and the call sites
look a lot neater.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
include/xfs_trace.h
libxfs/xfs_ialloc.c