mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
svcrdma: trace cc_release calls
This event brackets the svcrdma_post_* trace points. If this trace event is enabled but does not appear as expected, that indicates a chunk_ctxt leak. Reviewed-by: Jeff Layton <jlayton@kernel.org> Acked-by: Tom Talpey <tom@talpey.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This commit is contained in:
@@ -2112,6 +2112,14 @@ DEFINE_POST_CHUNK_EVENT(read);
|
||||
DEFINE_POST_CHUNK_EVENT(write);
|
||||
DEFINE_POST_CHUNK_EVENT(reply);
|
||||
|
||||
DEFINE_EVENT(svcrdma_post_chunk_class, svcrdma_cc_release,
|
||||
TP_PROTO(
|
||||
const struct rpc_rdma_cid *cid,
|
||||
int sqecount
|
||||
),
|
||||
TP_ARGS(cid, sqecount)
|
||||
);
|
||||
|
||||
TRACE_EVENT(svcrdma_wc_read,
|
||||
TP_PROTO(
|
||||
const struct ib_wc *wc,
|
||||
|
Reference in New Issue
Block a user