SUNRPC: Remove trace_xprt_complete_rqst()
Request completion is already recorded by an "rpc_task_wakeup queue=xprt_pending" trace record. A subsequent rpc_xdr_recvfrom trace record shows the number of bytes received. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
committed by
Anna Schumaker
parent
88428cc4ae
commit
e4378a0fdd
@@ -969,7 +969,6 @@ DECLARE_EVENT_CLASS(rpc_xprt_event,
|
|||||||
|
|
||||||
DEFINE_RPC_XPRT_EVENT(timer);
|
DEFINE_RPC_XPRT_EVENT(timer);
|
||||||
DEFINE_RPC_XPRT_EVENT(lookup_rqst);
|
DEFINE_RPC_XPRT_EVENT(lookup_rqst);
|
||||||
DEFINE_RPC_XPRT_EVENT(complete_rqst);
|
|
||||||
|
|
||||||
TRACE_EVENT(xprt_transmit,
|
TRACE_EVENT(xprt_transmit,
|
||||||
TP_PROTO(
|
TP_PROTO(
|
||||||
|
|||||||
@@ -1131,8 +1131,6 @@ void xprt_complete_rqst(struct rpc_task *task, int copied)
|
|||||||
struct rpc_rqst *req = task->tk_rqstp;
|
struct rpc_rqst *req = task->tk_rqstp;
|
||||||
struct rpc_xprt *xprt = req->rq_xprt;
|
struct rpc_xprt *xprt = req->rq_xprt;
|
||||||
|
|
||||||
trace_xprt_complete_rqst(xprt, req->rq_xid, copied);
|
|
||||||
|
|
||||||
xprt->stat.recvs++;
|
xprt->stat.recvs++;
|
||||||
|
|
||||||
req->rq_private_buf.len = copied;
|
req->rq_private_buf.len = copied;
|
||||||
|
|||||||
Reference in New Issue
Block a user