commit | e8353c7682875329b8e70999e1652fd1bba8973d | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Tue Dec 31 13:39:22 2013 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Tue Dec 31 14:02:46 2013 -0500 |
tree | 2911c0e5c41d19de1f6c152f1398f91f689dfeae | |
parent | 2118071d3b0d57a03fad77885f4fdc364798aa87 [diff] [blame] |
SUNRPC: Add tracepoint for socket errors Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index ab006b7..25dbfa9 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c
@@ -837,6 +837,7 @@ goto out; dprintk("RPC: xs_error_report client %p, error=%d...\n", xprt, -err); + trace_rpc_socket_error(xprt, sk->sk_socket, err); xprt_wake_pending_tasks(xprt, err); out: read_unlock_bh(&sk->sk_callback_lock);