]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6e21edfeef2499b3b08225c724ea30af26e7cc50
tree6870400a379223221d6a3838f0188affa9a441b7
parent192f19995fbc3cacaeeb89b65ac8b0c7beb442ae
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