]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: simplify the read/write tracepoints
authorChristoph Hellwig <hch@lst.de>
Sat, 23 Jan 2021 18:06:29 +0000 (10:06 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 1 Feb 2021 17:47:19 +0000 (09:47 -0800)
commit3e40b13c3b57108a118de639d4af04805ac6873f
tree8c5e2d402e390a646161ccf3027b7913dfaac2f3
parent670654b004b0bf7a0bc749f4f555fdefd5c89dcb
xfs: simplify the read/write tracepoints

Pass the iocb and iov_iter to the tracepoints and leave decoding of
actual arguments to the code only run when tracing is enabled.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_file.c
fs/xfs/xfs_trace.h