diff options
author | David Howells <dhowells@redhat.com> | 2018-07-23 18:18:37 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-08-01 14:28:23 +0200 |
commit | 4764c0da69dc500791c840c88dfd940d13b452e7 (patch) | |
tree | 6870400a379223221d6a3838f0188affa9a441b7 /net/rxrpc/conn_client.c | |
parent | rxrpc: Fix the trace for terminal ACK (re)transmission (diff) | |
download | linux-4764c0da69dc500791c840c88dfd940d13b452e7.tar.xz linux-4764c0da69dc500791c840c88dfd940d13b452e7.zip |
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>
Diffstat (limited to 'net/rxrpc/conn_client.c')
-rw-r--r-- | net/rxrpc/conn_client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rxrpc/conn_client.c b/net/rxrpc/conn_client.c index e4bfbd7e48a8..f8f37188a932 100644 --- a/net/rxrpc/conn_client.c +++ b/net/rxrpc/conn_client.c @@ -590,6 +590,7 @@ static void rxrpc_activate_one_channel(struct rxrpc_connection *conn, */ smp_wmb(); chan->call_id = call_id; + chan->call_debug_id = call->debug_id; rcu_assign_pointer(chan->call, call); wake_up(&call->waitq); } |