xfs: disambiguate units for ftrace fields tagged "len"
authorDarrick J. Wong <djwong@kernel.org>
Tue, 17 Aug 2021 19:45:59 +0000 (12:45 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 19 Aug 2021 17:07:10 +0000 (10:07 -0700)
commit7989accc6eb0cba3941493562f810d36062a68f3
tree31ccfbc500361b1e559c2c618bf6e96d0cce029c
parent49e68c91da5e5bdc91d1b8f4df776663a0f19952
xfs: disambiguate units for ftrace fields tagged "len"

Some of our tracepoints have a field known as "len".  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.

"fsbcount" are in units of fs blocks
"bbcount" are in units of 512b blocks
"ireccount" are in units of inodes

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