summary refs log tree commit diff
path: root/kernel/regset.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2022-01-14 11:44:54 +0000
committerDavid Howells <dhowells@redhat.com>2022-01-21 21:36:28 +0000
commit8c39b8bc82aafcc8dd378bd79c76fac8e8a89c8d (patch)
tree617b3e101dca053d0edd54ed936d0b5b7a700745 /kernel/regset.c
parentc7ca73155762684a896ba57edf48519b645ea528 (diff)
downloadlinux-8c39b8bc82aafcc8dd378bd79c76fac8e8a89c8d.tar.gz
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 'kernel/regset.c')
0 files changed, 0 insertions, 0 deletions