rxrpc: Trace packet transmission
authorDavid Howells <dhowells@redhat.com>
Mon, 23 Jul 2018 16:18:37 +0000 (17:18 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 1 Aug 2018 12:28:23 +0000 (13:28 +0100)
commit4764c0da69dc500791c840c88dfd940d13b452e7
tree6870400a379223221d6a3838f0188affa9a441b7
parentf3f8337c9e2a4964671c652469202ec485afddc0
rxrpc: Trace packet transmission

Trace successful packet transmission (kernel_sendmsg() succeeded, that is)
in AF_RXRPC.  We can share the enum that defines the transmission points
with the trace_rxrpc_tx_fail() tracepoint, so rename its constants to be
applicable to both.

Also, save the internal call->debug_id in the rxrpc_channel struct so that
it can be used in retransmission trace lines.

Signed-off-by: David Howells <dhowells@redhat.com>
include/trace/events/rxrpc.h
net/rxrpc/ar-internal.h
net/rxrpc/conn_client.c
net/rxrpc/conn_event.c
net/rxrpc/input.c
net/rxrpc/local_event.c
net/rxrpc/output.c
net/rxrpc/rxkad.c