summaryrefslogtreecommitdiff
path: root/fs/afs/fsclient.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2019-06-20 18:12:17 +0100
committerDavid Howells <dhowells@redhat.com>2019-06-20 18:12:17 +0100
commit452181936931f0f08923aba5e04e1e9ef58c389f (patch)
tree9516d468bae57461e495be640fbc7af86521cfa8 /fs/afs/fsclient.c
parent051d25250b55c215a2254a0130d46fbd38bcbcc0 (diff)
downloadlwn-452181936931f0f08923aba5e04e1e9ef58c389f.tar.gz
lwn-452181936931f0f08923aba5e04e1e9ef58c389f.zip
afs: Trace afs_server usage
Add a tracepoint (afs_server) to track the afs_server object usage count. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/fsclient.c')
-rw-r--r--fs/afs/fsclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/fsclient.c b/fs/afs/fsclient.c
index 48298408d6ac..8274e2e4a221 100644
--- a/fs/afs/fsclient.c
+++ b/fs/afs/fsclient.c
@@ -1915,7 +1915,7 @@ struct afs_call *afs_fs_get_capabilities(struct afs_net *net,
return ERR_PTR(-ENOMEM);
call->key = key;
- call->server = afs_get_server(server);
+ call->server = afs_get_server(server, afs_server_trace_get_caps);
call->server_index = server_index;
call->upgrade = true;
call->async = true;