xfs: add an xfs_zero_eof() tracepoint
[firefly-linux-kernel-4.4.55.git] / fs / xfs / xfs_file.c
index 347b3e07ec2bf9c7b60a41b8812954466736d818..541dcfbc6f4922d8b8f63889ed748ee97bba1267 100644 (file)
@@ -482,6 +482,8 @@ xfs_zero_eof(
        ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL));
        ASSERT(offset > isize);
 
+       trace_xfs_zero_eof(ip, isize, offset - isize);
+
        /*
         * First handle zeroing the block on which isize resides.
         *