]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
xfs: disambiguate units for ftrace fields tagged "count"
authorDarrick J. Wong <djwong@kernel.org>
Tue, 17 Aug 2021 20:00:13 +0000 (13:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 19 Aug 2021 17:07:10 +0000 (10:07 -0700)
commitd538cf24c603a0a4553ecbc895b5ecc8fa78d8b9
tree00493f8e4bd804397e4b44c441d516b4d248b6e8
parent7989accc6eb0cba3941493562f810d36062a68f3
xfs: disambiguate units for ftrace fields tagged "count"

Some of our tracepoints have a field known as "count".  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
when we're referring to blocks, extents, or IO operations.

"fsbcount" are in units of fs blocks
"bytecount" are in units of bytes

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