xfs: disambiguate units for ftrace fields tagged "blkno", "block", or "bno"
authorDarrick J. Wong <djwong@kernel.org>
Tue, 17 Aug 2021 17:03:45 +0000 (10:03 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 19 Aug 2021 17:07:09 +0000 (10:07 -0700)
commit6f25b211d32b31557e0fde872a01fe7f86136747
tree9200c4fe62982030f8d536678f0def84babdd3c3
parent92eff38665ad9b1ffc4e89c7efee1d78bf51cbd1
xfs: disambiguate units for ftrace fields tagged "blkno", "block", or "bno"

Some of our tracepoints describe fields as "blkno", "block", or "bno".
That name doesn't describe any units, which makes the fields not very
useful.  Rename the fields to capture units and ensure the format is
hexadecimal.

"startblock" is the startblock field from the bmap structure, which is a
segmented fsblock on the data device, or an rfsblock on the realtime
device.
"fileoff" is a file offset, in units of filesystem blocks
"daddr" is a raw device offset, in 512b blocks

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
fs/xfs/xfs_trace.h