summaryrefslogtreecommitdiff
path: root/fs/afs/rxrpc.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2023-11-17 12:20:28 +0300
committerDavid Howells <dhowells@redhat.com>2024-01-01 19:37:27 +0300
commitabcbd3bfbbfe97a8912d0c929d4aa18f50d9bc52 (patch)
tree611cf56c45b7a9f6d97d78626b6daec761e69300 /fs/afs/rxrpc.c
parent28f4c58045ede40c44d331b9a6c9a6a41eb8e9a9 (diff)
downloadlinux-abcbd3bfbbfe97a8912d0c929d4aa18f50d9bc52.tar.xz
afs: trace: Log afs_make_call(), including server address
Add a tracepoint to log calls to afs_make_call(), including the destination server address. Signed-off-by: David Howells <dhowells@redhat.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org
Diffstat (limited to 'fs/afs/rxrpc.c')
-rw-r--r--fs/afs/rxrpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/afs/rxrpc.c b/fs/afs/rxrpc.c
index 81013bc8bbfd..c453428f3c8b 100644
--- a/fs/afs/rxrpc.c
+++ b/fs/afs/rxrpc.c
@@ -313,6 +313,8 @@ void afs_make_call(struct afs_call *call, gfp_t gfp)
call, call->type->name, key_serial(call->key),
atomic_read(&call->net->nr_outstanding_calls));
+ trace_afs_make_call(call);
+
/* Work out the length we're going to transmit. This is awkward for
* calls such as FS.StoreData where there's an extra injection of data
* after the initial fixed part.