diff options
author | 2024-12-16 20:41:21 +0000 | |
---|---|---|
committer | 2024-12-20 22:34:09 +0100 | |
commit | 3c49e529e1c6aa71cb9b874fd60b72c97dae7ede (patch) | |
tree | 0a2ea63eacace15851ffc1bf0a5bc587885a1b87 /fs/afs | |
parent | afs: Locally initialise the contents of a new symlink on creation (diff) | |
download | wireguard-linux-3c49e529e1c6aa71cb9b874fd60b72c97dae7ede.tar.xz wireguard-linux-3c49e529e1c6aa71cb9b874fd60b72c97dae7ede.zip |
afs: Add a tracepoint for afs_read_receive()
Add a tracepoint for afs_read_receive() to allow potential missed wakeups
to be debugged.
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/20241216204124.3752367-32-dhowells@redhat.com
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/afs')
-rw-r--r-- | fs/afs/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/afs/file.c b/fs/afs/file.c index c296efebb491..fc15497608c6 100644 --- a/fs/afs/file.c +++ b/fs/afs/file.c @@ -274,6 +274,7 @@ static void afs_read_receive(struct afs_call *call) state = READ_ONCE(call->state); if (state == AFS_CALL_COMPLETE) return; + trace_afs_read_recv(op, call); while (state < AFS_CALL_COMPLETE && READ_ONCE(call->need_attention)) { WRITE_ONCE(call->need_attention, false); |