History

svcrdma: Clean up trace_svcrdma_send_failed() tracepoint

- Use the _err naming convention instead - Remove display of kernel memory address of the controlling xprt

Chuck Lever committed 6 years ago

Commit 3f8f25c1 parent ba6cc972 files · +3 −6Browse files

Showing the changes to include/trace (1 of 2 files). Show all

Unified · Split

include/trace/events/rpcrdma.h+2−5
@@ -1716,7 +1716,7 @@ TRACE_EVENT(svcrdma_send_pullup, · 1715 unmodified lines
17161716 TP_printk("len=%u", __entry->len)
17171717 );
17181718
1719−TRACE_EVENT(svcrdma_send_failed,
1719+TRACE_EVENT(svcrdma_send_err,
17201720 TP_PROTO(
17211721 const struct svc_rqst *rqst,
17221722 int status
@@ -1727,19 +1727,16 @@ TRACE_EVENT(svcrdma_send_failed, · 4 unmodified lines
17271727 TP_STRUCT__entry(
17281728 __field(int, status)
17291729 __field(u32, xid)
1730− __field(const void *, xprt)
17311730 __string(addr, rqst->rq_xprt->xpt_remotebuf)
17321731 ),
17331732
17341733 TP_fast_assign(
17351734 __entry->status = status;
17361735 __entry->xid = __be32_to_cpu(rqst->rq_xid);
1737− __entry->xprt = rqst->rq_xprt;
17381736 __assign_str(addr, rqst->rq_xprt->xpt_remotebuf);
17391737 ),
17401738
1741− TP_printk("xprt=%p addr=%s xid=0x%08x status=%d",
1742− __entry->xprt, __get_str(addr),
1739+ TP_printk("addr=%s xid=0x%08x status=%d", __get_str(addr),
17431740 __entry->xid, __entry->status
17441741 )
17451742 );