Commit 3fd2ca5b authored by Chuck Lever's avatar Chuck Lever

svcrdma: Fix tracepoint printk format

Other tracepoints use "cq.id=" rather than "cq_id=". Let's make it
more reliable to grep for the CQ restracker ID.
Reviewed-by: default avatarBenjamin Coddington <bcodding@redhat.com>
Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 197115eb
...@@ -1667,7 +1667,7 @@ TRACE_EVENT(svcrdma_encode_wseg, ...@@ -1667,7 +1667,7 @@ TRACE_EVENT(svcrdma_encode_wseg,
__entry->offset = offset; __entry->offset = offset;
), ),
TP_printk("cq_id=%u cid=%d segno=%u %u@0x%016llx:0x%08x", TP_printk("cq.id=%u cid=%d segno=%u %u@0x%016llx:0x%08x",
__entry->cq_id, __entry->completion_id, __entry->cq_id, __entry->completion_id,
__entry->segno, __entry->length, __entry->segno, __entry->length,
(unsigned long long)__entry->offset, __entry->handle (unsigned long long)__entry->offset, __entry->handle
...@@ -1703,7 +1703,7 @@ TRACE_EVENT(svcrdma_decode_rseg, ...@@ -1703,7 +1703,7 @@ TRACE_EVENT(svcrdma_decode_rseg,
__entry->offset = segment->rs_offset; __entry->offset = segment->rs_offset;
), ),
TP_printk("cq_id=%u cid=%d segno=%u position=%u %u@0x%016llx:0x%08x", TP_printk("cq.id=%u cid=%d segno=%u position=%u %u@0x%016llx:0x%08x",
__entry->cq_id, __entry->completion_id, __entry->cq_id, __entry->completion_id,
__entry->segno, __entry->position, __entry->length, __entry->segno, __entry->position, __entry->length,
(unsigned long long)__entry->offset, __entry->handle (unsigned long long)__entry->offset, __entry->handle
...@@ -1740,7 +1740,7 @@ TRACE_EVENT(svcrdma_decode_wseg, ...@@ -1740,7 +1740,7 @@ TRACE_EVENT(svcrdma_decode_wseg,
__entry->offset = segment->rs_offset; __entry->offset = segment->rs_offset;
), ),
TP_printk("cq_id=%u cid=%d segno=%u %u@0x%016llx:0x%08x", TP_printk("cq.id=%u cid=%d segno=%u %u@0x%016llx:0x%08x",
__entry->cq_id, __entry->completion_id, __entry->cq_id, __entry->completion_id,
__entry->segno, __entry->length, __entry->segno, __entry->length,
(unsigned long long)__entry->offset, __entry->handle (unsigned long long)__entry->offset, __entry->handle
...@@ -1959,7 +1959,7 @@ TRACE_EVENT(svcrdma_send_pullup, ...@@ -1959,7 +1959,7 @@ TRACE_EVENT(svcrdma_send_pullup,
__entry->msglen = msglen; __entry->msglen = msglen;
), ),
TP_printk("cq_id=%u cid=%d hdr=%u msg=%u (total %u)", TP_printk("cq.id=%u cid=%d hdr=%u msg=%u (total %u)",
__entry->cq_id, __entry->completion_id, __entry->cq_id, __entry->completion_id,
__entry->hdrlen, __entry->msglen, __entry->hdrlen, __entry->msglen,
__entry->hdrlen + __entry->msglen) __entry->hdrlen + __entry->msglen)
...@@ -2014,7 +2014,7 @@ TRACE_EVENT(svcrdma_post_send, ...@@ -2014,7 +2014,7 @@ TRACE_EVENT(svcrdma_post_send,
wr->ex.invalidate_rkey : 0; wr->ex.invalidate_rkey : 0;
), ),
TP_printk("cq_id=%u cid=%d num_sge=%u inv_rkey=0x%08x", TP_printk("cq.id=%u cid=%d num_sge=%u inv_rkey=0x%08x",
__entry->cq_id, __entry->completion_id, __entry->cq_id, __entry->completion_id,
__entry->num_sge, __entry->inv_rkey __entry->num_sge, __entry->inv_rkey
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment