]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
afs: Add more tracepoints
authorDavid Howells <dhowells@redhat.com>
Thu, 25 Apr 2019 13:26:51 +0000 (14:26 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 25 Apr 2019 13:26:51 +0000 (14:26 +0100)
commit80548b03991f58758a336424a90bf9f988e3b077
tree4d4872497df5a5794d9eb4ca352d4d33fa30798b
parent79ddbfa500b37a94fa7501e65ebdd5c0e4c7592d
afs: Add more tracepoints

Add four more tracepoints:

 (1) afs_make_fs_call1 - Split from afs_make_fs_call but takes a filename
     to log also.

 (2) afs_make_fs_call2 - Like the above but takes two filenames to log.

 (3) afs_lookup - Log the result of doing a successful lookup, including a
     negative result (fid 0:0).

 (4) afs_get_tree - Log the set up of a volume for mounting.

It also extends the name buffer on the afs_edit_dir tracepoint to 24 chars
and puts quotes around the filename in the text representation.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/dir.c
fs/afs/fsclient.c
fs/afs/super.c
fs/afs/yfsclient.c
include/trace/events/afs.h