diff options
author | David Howells <dhowells@redhat.com> | 2019-04-25 14:26:51 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-04-25 14:26:51 +0100 |
commit | 80548b03991f58758a336424a90bf9f988e3b077 (patch) | |
tree | 4d4872497df5a5794d9eb4ca352d4d33fa30798b /fs/afs/super.c | |
parent | 79ddbfa500b37a94fa7501e65ebdd5c0e4c7592d (diff) | |
download | linux-80548b03991f58758a336424a90bf9f988e3b077.tar.gz linux-80548b03991f58758a336424a90bf9f988e3b077.tar.bz2 linux-80548b03991f58758a336424a90bf9f988e3b077.zip |
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>
Diffstat (limited to 'fs/afs/super.c')
-rw-r--r-- | fs/afs/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/afs/super.c b/fs/afs/super.c index 6438849a75c4..ce85ae61f12d 100644 --- a/fs/afs/super.c +++ b/fs/afs/super.c @@ -550,6 +550,7 @@ static int afs_get_tree(struct fs_context *fc) } fc->root = dget(sb->s_root); + trace_afs_get_tree(as->cell, as->volume); _leave(" = 0 [%p]", sb); return 0; |