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>
Showing
- include/trace/events/rxrpc.h 72 additions, 35 deletionsinclude/trace/events/rxrpc.h
- net/rxrpc/ar-internal.h 1 addition, 0 deletionsnet/rxrpc/ar-internal.h
- net/rxrpc/conn_client.c 1 addition, 0 deletionsnet/rxrpc/conn_client.c
- net/rxrpc/conn_event.c 9 additions, 4 deletionsnet/rxrpc/conn_event.c
- net/rxrpc/input.c 10 additions, 1 deletionnet/rxrpc/input.c
- net/rxrpc/local_event.c 4 additions, 1 deletionnet/rxrpc/local_event.c
- net/rxrpc/output.c 25 additions, 7 deletionsnet/rxrpc/output.c
- net/rxrpc/rxkad.c 5 additions, 2 deletionsnet/rxrpc/rxkad.c
Please register or sign in to comment