]> git.baikalelectronics.ru Git - 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)
commit078f2ca9ad0e8d34082a78507d86a282232ffdd1
tree4d4872497df5a5794d9eb4ca352d4d33fa30798b
parent10666848e0e8a271bcc23453f047d9285cc774ba
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