OSDN Git Service

SUNRPC: Replace dprintk call sites in TCP state change callouts
authorChuck Lever <chuck.lever@oracle.com>
Wed, 18 Mar 2020 15:20:50 +0000 (11:20 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 18 May 2020 14:21:22 +0000 (10:21 -0400)
commita0469f46faab786e8ec9f8c8526a185357b38772
treed2dfcf33298493c2f6d28153b857cf766228d509
parent998024dee197944a7018a0bdc85b83b569ddec22
SUNRPC: Replace dprintk call sites in TCP state change callouts

Report TCP socket state changes and accept failures via
tracepoints, replacing dprintk() call sites.

No tracepoint is added in svc_tcp_listen_data_ready. There's
no information available there that isn't also reported by the
svcsock_new_socket and the accept failure tracepoints.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/trace/events/sunrpc.h
net/sunrpc/svcsock.c