SUNRPC: Update debugging instrumentation in xprt_do_reserve()
authorChuck Lever <chuck.lever@oracle.com>
Wed, 8 Jul 2020 20:09:21 +0000 (16:09 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 21 Sep 2020 14:21:08 +0000 (10:21 -0400)
commit09d2ba0cb1b311b2e3b144a0bbccc99f3c0d82d1
tree608a09c3ebe7f3da0fccc521c7b2582cc19bd585
parent78069487539dbb18e10aae15644019b468829ab2
SUNRPC: Update debugging instrumentation in xprt_do_reserve()

Replace a dprintk() with a tracepoint. The tracepoint marks the
point where an RPC request is assigned an XID.

Additional clean up: Remove trace_xprt_enq_xmit, which reports much
the same thing. That tracepoint was added for debugging commit
918f3c1fe83c ("SUNRPC: Improve latency for interactive tasks").

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