diff options
author | David Howells <dhowells@redhat.com> | 2016-09-17 10:49:13 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-09-17 11:24:03 +0100 |
commit | f3639df2d90bc919328c459b3c7c49ed5667a52f (patch) | |
tree | 3d8f8e234a88edd8d86c64656ca718fbf54ee248 /net/rxrpc/conn_event.c | |
parent | ec71eb9ada34f8d1a58b7c35d906c59411295445 (diff) | |
download | linux-stable-f3639df2d90bc919328c459b3c7c49ed5667a52f.tar.gz linux-stable-f3639df2d90bc919328c459b3c7c49ed5667a52f.tar.bz2 linux-stable-f3639df2d90bc919328c459b3c7c49ed5667a52f.zip |
rxrpc: Add a tracepoint to log ACK transmission
Add a tracepoint to log information about ACK transmission.
Signed-off-by: David Howels <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/conn_event.c')
-rw-r--r-- | net/rxrpc/conn_event.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/rxrpc/conn_event.c b/net/rxrpc/conn_event.c index a43f4c94a88d..9b19c51831aa 100644 --- a/net/rxrpc/conn_event.c +++ b/net/rxrpc/conn_event.c @@ -98,6 +98,9 @@ static void rxrpc_conn_retransmit_call(struct rxrpc_connection *conn, pkt.info.rwind = htonl(rxrpc_rx_window_size); pkt.info.jumbo_max = htonl(rxrpc_rx_jumbo_max); len += sizeof(pkt.ack) + sizeof(pkt.info); + + trace_rxrpc_tx_ack(NULL, chan->last_seq, 0, + RXRPC_ACK_DUPLICATE, 0); break; } |