diff options
author | David Howells <dhowells@redhat.com> | 2018-05-11 00:26:01 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-05-11 00:26:01 +0200 |
commit | 6b47fe1d1ca3aec3a1a8623439c22fbf51016cd8 (patch) | |
tree | 1947f6871f93fe343bea644289b4243519c3ef6f /net/rxrpc/local_event.c | |
parent | rxrpc: Add a tracepoint to log ICMP/ICMP6 and error messages (diff) | |
download | linux-6b47fe1d1ca3aec3a1a8623439c22fbf51016cd8.tar.xz linux-6b47fe1d1ca3aec3a1a8623439c22fbf51016cd8.zip |
rxrpc: Trace UDP transmission failure
Add a tracepoint to log transmission failure from the UDP transport socket
being used by AF_RXRPC.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/local_event.c')
-rw-r--r-- | net/rxrpc/local_event.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/rxrpc/local_event.c b/net/rxrpc/local_event.c index 93b5d910b4a1..8325f1b86840 100644 --- a/net/rxrpc/local_event.c +++ b/net/rxrpc/local_event.c @@ -71,7 +71,8 @@ static void rxrpc_send_version_request(struct rxrpc_local *local, ret = kernel_sendmsg(local->socket, &msg, iov, 2, len); if (ret < 0) - _debug("sendmsg failed: %d", ret); + trace_rxrpc_tx_fail(local->debug_id, 0, ret, + rxrpc_tx_fail_version_reply); _leave(""); } |