diff options
author | David Howells <dhowells@redhat.com> | 2018-03-27 23:08:20 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-03-27 23:08:20 +0100 |
commit | 1bae5d229532b4e8dfd5728cb3b8373bc9eec9eb (patch) | |
tree | 6295c9cb009170068e7a3217f0c4a5d59504c2dc /net/rxrpc | |
parent | a25e21f0bcd25673b91b97b9805db33350feec0f (diff) | |
download | lwn-1bae5d229532b4e8dfd5728cb3b8373bc9eec9eb.tar.gz lwn-1bae5d229532b4e8dfd5728cb3b8373bc9eec9eb.zip |
rxrpc: Trace call completion
Add a tracepoint to track rxrpc calls moving into the completed state and
to log the completion type and the recorded error value and abort code.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc')
-rw-r--r-- | net/rxrpc/ar-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rxrpc/ar-internal.h b/net/rxrpc/ar-internal.h index 9c9817ddafc5..21cf164b6d85 100644 --- a/net/rxrpc/ar-internal.h +++ b/net/rxrpc/ar-internal.h @@ -778,6 +778,7 @@ static inline bool __rxrpc_set_call_completion(struct rxrpc_call *call, call->error = error; call->completion = compl, call->state = RXRPC_CALL_COMPLETE; + trace_rxrpc_call_complete(call); wake_up(&call->waitq); return true; } |