diff options
author | David Howells <dhowells@redhat.com> | 2018-03-27 18:02:47 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-03-27 18:02:47 -0400 |
commit | 827efed6a66ef8a1c071400b5952fee4a5ffedf9 (patch) | |
tree | e78399fd82660abab6d225b8326b041a2fdbf621 /net/rxrpc | |
parent | 5d22d47b9ed96eddb35821dc2cc4f629f45827f7 (diff) |
rxrpc: Trace resend
Add a tracepoint to trace packet resend events and to dump the Tx
annotation buffer for added illumination.
Signed-off-by: David Howells <dhowells@rdhat.com>
Diffstat (limited to 'net/rxrpc')
-rw-r--r-- | net/rxrpc/call_event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rxrpc/call_event.c b/net/rxrpc/call_event.c index ad2ab1103189..6a62e42e1d8d 100644 --- a/net/rxrpc/call_event.c +++ b/net/rxrpc/call_event.c | |||
@@ -195,6 +195,7 @@ static void rxrpc_resend(struct rxrpc_call *call, unsigned long now_j) | |||
195 | * the packets in the Tx buffer we're going to resend and what the new | 195 | * the packets in the Tx buffer we're going to resend and what the new |
196 | * resend timeout will be. | 196 | * resend timeout will be. |
197 | */ | 197 | */ |
198 | trace_rxrpc_resend(call, (cursor + 1) & RXRPC_RXTX_BUFF_MASK); | ||
198 | oldest = now; | 199 | oldest = now; |
199 | for (seq = cursor + 1; before_eq(seq, top); seq++) { | 200 | for (seq = cursor + 1; before_eq(seq, top); seq++) { |
200 | ix = seq & RXRPC_RXTX_BUFF_MASK; | 201 | ix = seq & RXRPC_RXTX_BUFF_MASK; |