summaryrefslogtreecommitdiffstats
path: root/net/rxrpc/call_accept.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-09-17 11:49:13 +0200
committerDavid Howells <dhowells@redhat.com>2016-09-17 12:24:03 +0200
commit58dc63c998ea3c5a27e2bf9251eddbf0977056a6 (patch)
tree8567efc32e9fb834e90290adcb3ff3a7a1f06610 /net/rxrpc/call_accept.c
parentrxrpc: Add a tracepoint to log ACK transmission (diff)
downloadlinux-58dc63c998ea3c5a27e2bf9251eddbf0977056a6.tar.xz
linux-58dc63c998ea3c5a27e2bf9251eddbf0977056a6.zip
rxrpc: Add a tracepoint to follow packets in the Rx buffer
Add a tracepoint to follow the life of packets that get added to a call's receive buffer. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/call_accept.c')
-rw-r--r--net/rxrpc/call_accept.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/rxrpc/call_accept.c b/net/rxrpc/call_accept.c
index 3e474508ba75..a8d39d7cf42c 100644
--- a/net/rxrpc/call_accept.c
+++ b/net/rxrpc/call_accept.c
@@ -367,6 +367,9 @@ found_service:
goto out;
}
+ trace_rxrpc_receive(call, rxrpc_receive_incoming,
+ sp->hdr.serial, sp->hdr.seq);
+
/* Make the call live. */
rxrpc_incoming_call(rx, call, skb);
conn = call->conn;