diff options
author | David Howells <dhowells@redhat.com> | 2022-01-14 12:44:54 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2022-01-21 22:36:28 +0100 |
commit | 8c39b8bc82aafcc8dd378bd79c76fac8e8a89c8d (patch) | |
tree | 617b3e101dca053d0edd54ed936d0b5b7a700745 /Documentation/arc | |
parent | cachefiles: set default tag name if it's unspecified (diff) | |
download | linux-8c39b8bc82aafcc8dd378bd79c76fac8e8a89c8d.tar.xz linux-8c39b8bc82aafcc8dd378bd79c76fac8e8a89c8d.zip |
cachefiles: Make some tracepoint adjustments
Make some adjustments to tracepoints to make the tracing a bit more
followable:
(1) Standardise on displaying the backing inode number as "B=<hex>" with
no leading zeros.
(2) Make the cachefiles_lookup tracepoint log the directory inode number
as well as the looked-up inode number.
(3) Add a cachefiles_lookup tracepoint into cachefiles_get_directory() to
log directory lookup.
(4) Add a new cachefiles_mkdir tracepoint and use that to log a successful
mkdir from cachefiles_get_directory().
(5) Make the cachefiles_unlink and cachefiles_rename tracepoints log the
inode number of the affected file/dir rather than dentry struct
pointers.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com
Link: https://lore.kernel.org/r/164251403694.3435901.9797725381831316715.stgit@warthog.procyon.org.uk/ # v1
Diffstat (limited to 'Documentation/arc')
0 files changed, 0 insertions, 0 deletions