diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2013-12-31 13:39:22 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2013-12-31 14:02:46 -0500 |
commit | e8353c7682875329b8e70999e1652fd1bba8973d (patch) | |
tree | 2911c0e5c41d19de1f6c152f1398f91f689dfeae /net/sunrpc | |
parent | 2118071d3b0d57a03fad77885f4fdc364798aa87 (diff) | |
download | linux-stable-e8353c7682875329b8e70999e1652fd1bba8973d.tar.gz linux-stable-e8353c7682875329b8e70999e1652fd1bba8973d.tar.bz2 linux-stable-e8353c7682875329b8e70999e1652fd1bba8973d.zip |
SUNRPC: Add tracepoint for socket errors
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/xprtsock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index ab006b7b7ab8..25dbfa971948 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c @@ -837,6 +837,7 @@ static void xs_error_report(struct sock *sk) 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); |