diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-08-17 10:09:12 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-08-19 10:07:09 -0700 |
commit | 49e68c91da5e5bdc91d1b8f4df776663a0f19952 (patch) | |
tree | a8031ffec7614bd296d0af1c545a69c3ddf173fb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6f25b211d32b31557e0fde872a01fe7f86136747 (diff) |
xfs: disambiguate units for ftrace fields tagged "offset"
Some of our tracepoints describe fields as "offset". 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.
"fileoff" means file offset, in units of fs blocks
"pos" means file offset, in bytes
"forkoff" means inode fork offset, in bytes
The one remaining "offset" value is for iclogs, since that's the byte
offset of the end of where we've written into the current iclog.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions