Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/include/trace/events/     Datei vom 24.10.2025 mit Größe 50 kB image not shown  

Quelle  rpcrdma.h   Sprache: C

 

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) 2017, 2018 Oracle.  All rights reserved.
 *
 * Trace point definitions for the "rpcrdma" subsystem.
 */

#undef TRACE_SYSTEM
#define TRACE_SYSTEM rpcrdma

#if !defined(_TRACE_RPCRDMA_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_RPCRDMA_H

#include <linux/scatterlist.h>
#include <linux/sunrpc/rpc_rdma_cid.h>
#include <linux/tracepoint.h>
#include <rdma/ib_cm.h>

#include <trace/misc/rdma.h>
#include <trace/misc/sunrpc.h>

/**
 ** Event classes
 **/


DECLARE_EVENT_CLASS(rpcrdma_simple_cid_class,
 TP_PROTO(
  const struct rpc_rdma_cid *cid
 ),

 TP_ARGS(cid),

 TP_STRUCT__entry(
  __field(u32, cq_id)
  __field(int, completion_id)
 ),

 TP_fast_assign(
  __entry->cq_id = cid->ci_queue_id;
  __entry->completion_id = cid->ci_completion_id;
 ),

 TP_printk("cq.id=%d cid=%d",
  __entry->cq_id, __entry->completion_id
 )
);

#define DEFINE_SIMPLE_CID_EVENT(name)     \
  DEFINE_EVENT(rpcrdma_simple_cid_class, name,  \
    TP_PROTO(    \
     const struct rpc_rdma_cid *cid \
    ),     \
    TP_ARGS(cid)    \
  )

DECLARE_EVENT_CLASS(rpcrdma_completion_class,
 TP_PROTO(
  const struct ib_wc *wc,
  const struct rpc_rdma_cid *cid
 ),

 TP_ARGS(wc, cid),

 TP_STRUCT__entry(
  __field(u32, cq_id)
  __field(int, completion_id)
  __field(unsigned long, status)
  __field(unsigned int, vendor_err)
 ),

 TP_fast_assign(
  __entry->cq_id = cid->ci_queue_id;
  __entry->completion_id = cid->ci_completion_id;
  __entry->status = wc->status;
  if (wc->status)
   __entry->vendor_err = wc->vendor_err;
  else
   __entry->vendor_err = 0;
 ),

 TP_printk("cq.id=%u cid=%d status=%s (%lu/0x%x)",
  __entry->cq_id, __entry->completion_id,
  rdma_show_wc_status(__entry->status),
  __entry->status, __entry->vendor_err
 )
);

#define DEFINE_COMPLETION_EVENT(name)     \
  DEFINE_EVENT(rpcrdma_completion_class, name,  \
    TP_PROTO(    \
     const struct ib_wc *wc,  \
     const struct rpc_rdma_cid *cid \
    ),     \
    TP_ARGS(wc, cid))

DECLARE_EVENT_CLASS(rpcrdma_send_flush_class,
 TP_PROTO(
  const struct ib_wc *wc,
  const struct rpc_rdma_cid *cid
 ),

 TP_ARGS(wc, cid),

 TP_STRUCT__entry(
  __field(u32, cq_id)
  __field(int, completion_id)
  __field(unsigned long, status)
  __field(unsigned int, vendor_err)
 ),

 TP_fast_assign(
  __entry->cq_id = cid->ci_queue_id;
  __entry->completion_id = cid->ci_completion_id;
  __entry->status = wc->status;
  __entry->vendor_err = wc->vendor_err;
 ),

 TP_printk("cq.id=%u cid=%d status=%s (%lu/0x%x)",
  __entry->cq_id, __entry->completion_id,
  rdma_show_wc_status(__entry->status),
  __entry->status, __entry->vendor_err
 )
);

#define DEFINE_SEND_FLUSH_EVENT(name)     \
  DEFINE_EVENT(rpcrdma_send_flush_class, name,  \
    TP_PROTO(    \
     const struct ib_wc *wc,  \
     const struct rpc_rdma_cid *cid \
    ),     \
    TP_ARGS(wc, cid))

DECLARE_EVENT_CLASS(rpcrdma_mr_completion_class,
 TP_PROTO(
  const struct ib_wc *wc,
  const struct rpc_rdma_cid *cid
 ),

 TP_ARGS(wc, cid),

 TP_STRUCT__entry(
  __field(u32, cq_id)
  __field(int, completion_id)
  __field(unsigned long, status)
  __field(unsigned int, vendor_err)
 ),

 TP_fast_assign(
  __entry->cq_id = cid->ci_queue_id;
  __entry->completion_id = cid->ci_completion_id;
  __entry->status = wc->status;
  if (wc->status)
   __entry->vendor_err = wc->vendor_err;
  else
   __entry->vendor_err = 0;
 ),

 TP_printk("cq.id=%u mr.id=%d status=%s (%lu/0x%x)",
  __entry->cq_id, __entry->completion_id,
  rdma_show_wc_status(__entry->status),
  __entry->status, __entry->vendor_err
 )
);

#define DEFINE_MR_COMPLETION_EVENT(name)    \
  DEFINE_EVENT(rpcrdma_mr_completion_class, name,  \
    TP_PROTO(    \
     const struct ib_wc *wc,  \
  _entry- -
  ,  java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    _-_-

java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 2
 TP_PROTO(
  const struct  java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 47
rpc_rdma_cidcid
 ),

TP_ARGS ,

 _>id _version _>roc
  )
  __field(int, completion_id)
  __field(u32, received)
  __field(java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 2
 __field(nsignedint vendor_err)
    #name#err \

 TP_fast_assign(
  __ TP_PROTO  \
  __ constrpcrdma_reprep\
  __    ),  \
  if (wc->status) {
   __entry->received TP_ARGSrep)
   __DECLARE_EVENT_CLASS
  }TP_PROTO
   const rpcrdma_xprtr_xprt
),
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 ),

 TP_printk("cq.id=pcrdma_addrstrr_xprt)java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
)java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
   __assign_str(addr);
  _assign_strp;
  __entry->received
 )
);,

#define DEFINE_RECEIVE_COMPLETION_EVENT(name)    \
  DEFINE_EVENT(rpcrdma_receive_completion_class, name, \
    TP_PROTO(    \
     const struct ib_wc *wc,  \
     const struct rpc_rdma_cid *cid \
    ) TP_printk("
peer=[%s]:%s",
    TP_ARGS(wc, cid))

DECLARE_EVENT_CLASS(rpcrdma_receive_success_class,
 TP_PROTO()
  const;
  const java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 java.lang.StringIndexOutOfBoundsException: Range [3, 4) out of bounds for length 3

 TP_ARGS(wc, cid),

  ),  java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  _u,)
  __field(int, completion_id)
  __field(u32, TP_PROTO(
 ),

 java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 8
 _> =-cjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36
 _cjava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 49
 ->
 ) _ java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 41

 P_printk(cq.id=u cid=d =%u,
 
  __ TP_fast_assign(
 )
);

#define DEFINE_RECEIVE_SUCCESS_EVENT(name_entry->c=rc;
  DEFINE_EVENT(rpcrdma_receive_success_class, name, \
    TP_PROTO(    por)java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
   const structjava.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 31
   java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 37
    # java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 38
    TP_ARGS(wc,(  \

(rpcrdma_receive_flush_class,
    nt rc  \
   ,  \
   TP_ARGSr_xprt, rc))
 ),

 TP_ARGS(wc, cid),

 TP_STRUCT__entry(
 _field(,cq_id
   TP_PROTO(
   const  rpc_task *task,
      ,
 ),

 TP_fast_assign(
  __entry->struct rpcrdma_mrmr,
  int 
  _ ),
  __entry TP_ARGS(task,,mr,nsegs)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 )java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3

 TP_printk("
cq.id=%u cid=%d status=%s (%lu/0x%x)",
  __entry-cq_id, _>completion_id,
  rdma_show_wc_status(__entry->status),
  __entry->  _field(int, nents)
 )
);

# __fieldu32, handle)
  DEFINE_EVENT(rpcrdma_receive_flush_class, name,  \
  TP_PROTO( \
     const struct ib_wc *wc,  \
    struct java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 37
    ),
   (wc, cid))

DECLARE_EVENT_CLASS(xprtrdma_reply_class,
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  const struct rpcrdma_rep *rep
 ) _java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 21

 rep)

 
  _> >java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34
  _
  _java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 20
 _ java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 48
 _string( java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 48
 ,

 TP_fast_assign(
 _> =-;
  __entry->version = be32_to_cpu(rep- _java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 51
  _)
  _;
  __assign_str(port);
 ),

TP_printk"
=s% x java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 56
 (port,
  __entry int, java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
 )
);

#define java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 12
  \
    xprtrdma_reply_##name##_errjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 18
  struct rpcrdma_rep* \
      
  )

DECLARE_EVENT_CLASS(xprtrdma_rxprt,
 TP_PROTO(
  const struct rpcrdma_xprt *r_xprt
 ),

 TP_ARGS(r_xprt),

 TP_STRUCT__entry(
  __string(addr, (r_xprt))
  __string(port, rpcrdma_portstr(r_xprt))
 ),

 TP_fast_assign(
   (,  ,
  __assign_str(port);
 ) 

 TP_printk(peer=%s]%"
  __ _field(unsigned int, client_id)
 )
);

# __ield(,nents)
  DEFINE_EVENT(xprtrdma_rxprt, name,   \
      \
     const struct rpcrdma_xprt_field java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
    ),     \TP_fast_assign(
   _entry->task_id =task->tk_pid;

DECLARE_EVENT_CLASS(xprtrdma_connect_class,
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 10
  *java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  __entr-java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 34
 ,

 TP_ARGS(r_xprt, TP_ARGS(r_xprt, 

 TP_STRUCT__entry(
 _(, rc)
 _(nt,)
 _( java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 41
  _java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 51
 ),

 java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 2
  __entry->rc = rc;
 _>=r_xprt>-rjava.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 61
  __ struct rpcrdma_m java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 30
  __assign_str(java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 12
 ,

 TP_printk("
TRACE_DEFINE_ENUM)java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
  __get_str(TRACE_DEFINE_ENUMDMA_FROM_DEVICE;
  __entry->rc, __entry->connect_status
 )
);

#define DEFINE_CONN_EVENT
 DEFINE_EVENTxprtrdma_connect_class,xprtrdma_# java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
    {DMA_BIDIRECTIONAL, "IDIR"} \
     const struct rpcrdma_xprt *r_xprt  { TO_DEVICE } java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
   intrc  \
    ),     \
    TP_ARGS(r_xprt, rc

(xprtrdma_rdch_event,
 TP_PROTO(
  const structrpc_task*
  unsigned
  (,
  int nsegs
 )java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3

task  ,nsegsjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31

   .idujava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 50
  ,java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
 _java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 34
 _ java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
 _java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 21
  __field;

 #name    java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 27
 ),

 TP_fast_assign(
  __entry->task_id =  )  \
  mr)
  __entry->pos = pos;
  __(java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 48
 _> -java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 _-offset  ->r_offset;
    __ieldint,nents)
 ),

 TP_printk(SUNRPC_TRACE_TASK_SPECIFIER_fieldu, handle)
    " __fi(u32 )
   _field(,)
  __entry->pos, __entry->length,
  (  )_entry-offset,_e-handle,
  __entry-,
 )
)(

#define DEFINE_RDCH_EVENT(name)      \
EVENTxprtrdma_rdch_event, xprtrdma_chunk_#name,\
    TP_PROTO(    \
     const struct rpc_task * __entry->handle = mr->mr_handle
    pos, \
     struct rpcrdma_mr *mr,  \
    int nsegs  \
    ),     \
    TP_ARGS(task, pos, mr, nsegs))

DECLARE_EVENT_CLASS(xprtrdma_wrch_event,
TP_PROTO(
 
  (mr.=u % u0x%l0%x(s"

 
  (java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 55

 ;

 java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
 
 _java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 34
  __ ), java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
 _fieldjava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 22
 _java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 22
  _ ,
  __field(int, nsegs)
 ),

 TP_fast_assign(
 
  java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
 _java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 32
 _>java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 34
  
  -java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 34
 _>=
 ),

 TP_printk(java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 21
    "TP_printk"[s:s 008,
  __entry->_get_straddr,__et_strport) __ntry-xid
  __entry->length, (unsigned long long)__entry-)
  __entry->)
  __entry-
#define DEFINE_CALLBACK_EVENTname   \
);

#define DEFINE_WRCH_EVENT(  #ame  
   const str *xprt java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
   java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 26
   java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 35
     java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
     intcjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 29
  )
    TP_ARGSjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18

TRACE_DEFINE_ENUM(DMA_BIDIRECTIONAL);
;
 _java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 33


dx   \
  __java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 3
 *  >java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 42
  { "}java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
 {  , \
    { __entry->max_send-java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 45

ASS,
    ());
  const struct rpcrdma_mr *mr
 ),

 TP_ARGS(mr),

 TP_STRUCT__entry(
  __field(unsigned int,         (struct ));
  __ ),
  __java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  _field(,nents)
  __field(u32, handle)
  __field(__entry->srcaddr _dstaddrjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
  __field(u64 _>,_entry>
  )
 ),

 TP_fast_assign(
  const struct java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 10

  if (req) {
   const struct rpc_task *task _ r_xprt)

   __entry-> __string(port,java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 41
   __java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
  } else {
   __entry->__assign_str(port
   __entry->client_id
  java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
 _-mr_id  =mr->r_ibmr-res.d;
  __entry->nents  = mr->mr_nents;
  _ 
  __entry-;
  __entry->offset = mr->mr_offset;
  __entry->dir    = mr->TRACE_EVENT(xprtrdma_nomrs_err
 )

 TP_printk(SUNRPC_TRACE_TASK_SPECIFIER
  const  rpcrdma_req req
  __entry->task_id, __entry->java.lang.StringIndexOutOfBoundsException: Range [18, 38) out of bounds for length 35
  _
  (TP_STRUCT__entry(
   __field(unsignedint,task_id)
 )
);

#define DEFINE_MR_EVENT(name)      \
 DEFINE_EVENT(xprtrdma_mr_class,   \
    xprtrdma_mr_## _field(u32,xid)
    TP_PROTO _field(nsigned int,hdrlen)
     const struct rpcrdma_mr *mr \
    ),     \
   TP_ARGS(r)

ECLARE_EVENT_CLASS(prtrdma_anonymous_mr_class
TP_PROTO(
  const struct rpcrdma_mr *mr
 ),

 TP_ARGS TP_fast_assignjava.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16

 (
  __field(u32, mr_id)
  __field(int, nents)_e-client_id = -rq_task-tk_client-c;
   _-xid  (-rq_xid);
  __field(u32 _>hdrlen  req-rl_hdrbuf.;
  __field(u64, offset)
  __field(u32, dir)
 )

TP_fast_assignjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
 __entry-mr_id   ->mr_ibmr->res.d;
  __entry->nents  = mr->mr_nents;
  __entry- _entry-rtype =rtype;
  __entry->length _entry-wtype = wtype;
  __entry->offset
  __entry-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 ),

k"
id%nents%%@x016:0x08x(s),
  __entry- __ntry>task_id, _entry-client_id java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 53
  (unsigned _>headlen, _entry>,_entry->aillenjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
 xprtrdma_show_direction_ntry>java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
 )
);


  DEFINE_EVENT(java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 2
   prtrdma_mr_name   \
    TP_PROTO(  TP_PROTOc rpc_rqstrjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
     java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    ),     \
    TP_ARGS(mr (

DECLARE_EVENT_CLASS(xprtrdma_callback_class,
 (
  const struct rpcrdma_xprt *r_xprt,
   rpc_rqst *rqst
 ),

 TP_ARGS(r_xprt, rqst),

 java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
  __field(u32, (
  __string(addr, rpcrdma_addrstr(r_xprt))
 _stringp,rpcrdma_portstrr_xprt)
 ),

 TP_fast_assign(
  __entry-> __entry->xid (qst>);
  __ __entry->ret java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  __assign_str(port);
 ),

 TP_printk("peer=[%s]:%s  _entry-task_id,_entry->java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 53
  __get_str(addr), _)
 )
);

define DEFINE_CALLBACK_EVENTname)  \
  DEFINE_EVENT(xprtrdma_callback_class,   \
    xprtrdma_cb_##name,   \
    TP_PROTO(    \
,
     const struct rpc_rqst *rqst \
   )   java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
    TP_ARGSTP_ARGS(,

/**
 ** Connection events
 **

(,
 TP_PROTO(
  const   *ep
 ),

 TP_ARGS(ep),

 TP_STRUCT__entry(
  __field(__field(int, num_sge
  __field  _field(nt,signaled)
  __field(unsigned java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 3
  __ const structrpc_rqst rqst  &req-rl_slotjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
 (struct )
  __array(unsigned char, dstaddr, sizeof(struct sockaddr_in6))
 ),

 TP_fast_assign(
  const struct rdma_cm_id *id =_-  sc-sc_cid.;

 _entry-inline_send  ->e_inline_send
  __entry->__entry->client_id=rqst->rq_task-tk_client ?
  __entry->max_send  rqst-rq_task>tk_client>cl_clid  1;
  _-max_recv  -re_max_inline_recvjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
src_addr,
         sizeof(struct sockaddr_in6));
  memcpy(_)
         sizeof(struct java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 0
 ),

 TP_printk("
%pISpc -> %_entry-task_id,_entry-client_id,
  __entry->srcaddr, __entry->dstaddr,
  __entry->inline_send, __entry->inline_recv,
  __entry->max_send, __entry->max_recv
 )
);

DEFINE_CONN_EVENT(connect);
DEFINE_CONN_EVENT(disconnect);

TRACE_EVENT(xprtrdma_device_removal,
 TP_PROTO(
  const struct rdma_cm_id *id
 ),

 TP_ARGS __ntry-num_sge _entry->num_sge = 1 ?"  "s",

 TP_STRUCT__entry(
  __string(name, id->devicejava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
  _ char  )
 ),

 TP_fast_assign(
  __assign_str(name);
 , &->oute..,
         sizeof(struct sockaddr_in6));
 ),

 TP_printk("

  __get_str(,req rc),
 )
);

java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0

TRACE_EVENTxprtrdma_op_connect
 TP_PROTO(
 truct rpcrdma_xprt*,
  unsigned long delay
 ),

 TP_ARGS(r_xprt, delay),

 P_STRUCT__entry
  __field)
  __string(addr,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  _string(ort, ()
 ),

 TP_fast_assign(
  __entry->delay
  __assign_str(addr);
 _assign_str(port);
 ),

  _entry-task_id =rqst>rq_task-tk_pid;
  __get_str(addr),  __entry->lient_id =rqst-rq_task>tk_client java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
 )
);


TRACE_EVENT(xprtrdma_op_set_ctoTP_printk(SUNRPC_TRACE_TASK_SPECIFIER"cq.id=u =d,
 TP_PROTO(
  const struct rpcrdma_xprt *r_xprt,
 unsigned  connect,
  unsigned long reconnect
 ),

 TP_ARGS(r_xprt,connect reconnect)java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37

 TP_STRUCT__entry
  __field(unsignedTRACE_EVENT(prtrdma_post_recvs,
  __field(unsigned long, reconnect)
  __string(addr, rpcrdma_addrstr(java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 36
 , rpcrdma_portstr(_))
 ),

 java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
  __entry
  ct= ;
  _  _ield( )
  __assign_str(port);
 ),

 TP_printk("
peer=[%s]:%s connect=%lu __ieldint posted)
 _(ddr,_get_str(ort)
  __entry- _(ort,rpcrdma_portstrr_xprt)
 )
);

/**
   events
 **/


TRACE_EVENTxprtrdma_createmrs,
 TP_PROTO(
  java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 36
  unsigned int count
 ),

TP_ARGS(,count)

 TP_STRUCT__entry(
  __string(addr,  TP_printk("peer=[%s]:%s cq%u new recvs dactive",
  _string(,rpcrdma_portstrr_xprt)
  __field(  _entry-count,_entry->
 ),

 java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 2
 ;
 _()
  __assign_str(port _-status =status;
 ),

 TP_printk("
peer=[ _(port);
  __get_str)
 )
);

TRACE_EVENT(xprtrdma_nomrs_err,
 TP_PROTO(
 c structrpcrdma_xprt *_prt,
  const struct rpcrdma_req *req
 )

TP_ARGS(,req)

TP_STRUCT__entry(
  __field(unsigned int, java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
  _field(nsigned , )
  __string(addr, rpcrdma_addrstr(java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 12
  __string(port, java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
 ),

 TP_fast_assign(
  java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0

 _-task_id  -rq_task->k_pid;
  __entry->client_id = rqst->rq_task->tk_client->cl_clid;
  ____field(unsigned,client_id)
  __assign_str(port);
 ),

 E_TASK_SPECIFIER " peer=[%s]:%s",
  __entry->task_id, __entry->),
  __get_str(addr), __get_str(port)
 )
);

DEFINE_RDCH_EVENT(read);
DEFINE_WRCH_EVENTwrite)
DEFINE_WRCH_EVENT(reply);
DEFINE_WRCH_EVENT(wp);

TRACE_DEFINE_ENUM(rpcrdma_noch);
TRACE_DEFINE_ENUM( __entry->client_id -tk_client->cl_clidjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 3
TRACE_DEFINE_ENUM(TP_printk(SUNRPC_TRACE_TASK_SPECIFIER " status=%d",
TRACE_DEFINE_ENUM(  __->ask_id _->lient_id _-status
TRACE_DEFINE_ENUM)
TRACE_DEFINE_ENUM(rpcrdma_replych)java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2

#definexprtrdma_show_chunktypex   
  __print_symbolic(x,     \
    { rpcrdma_noch, "inline" },  \
    {java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     rpcrdma_noch_mapped,"mapped"} \
    { rpcrdma_readch,
    { (;
    { rpcrdma_writech, "write list" }, \
   ();

TRACE_EVENTxprtrdma_marshal
 TP_PROTO(
  const struct rpcrdma_req *req,
   rtype,
  unsigned java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
 ),

 TP_ARGS(req, rtype   structrpcrdma_mr*java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30

 TP_STRUCT__entry(
  __java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 8
  __field(unsigned int, client_id)
_>_java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 53
  __field(unsigned
  _
 TP_printkSUNRPC_TRACE_TASK_SPECIFIER =x08x"
  _ _>java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 52
  __ TP_PROTOjava.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 10
  __field(unsigned
 ),

 TP_fast_assign(
  const struct rpc_rqst *rqst

  _>task_id = rqst--tk_pid;
  __entry->client_id = rqst->rq_task->tk_client->cl_clid;
  __entry->xid = be32_to_cpu(rqst->rq_xid TP_STRUCT__entryjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
  __entry-  _field(nsigned int, )
  __entry->headlen = rqst->rq_snd_buf.head[0].iov_len;
gelen =rqst
  __entry-> _entry->task_id, __entry->client_id, __entry->xid,
  __entry->rtype _entry-procedure
  __entry->wtype = wtype;
 ),

 TP_printk(SUNRPC_TRACE_TASK_SPECIFIER
    "
 xid=0x%08x hdr=%u xdr=%u/%u/%u %s/%s",
  __entry->task_id, __entry->client_id, __entry->xid,
  __entry->hdrlen,
  __entry->headlen, __entry->pagelen, __entry->taillen,
  xprtrdma_show_chunktype(__entry->rtype),
  xprtrdma_show_chunktype(__entry->wtype)
 )
);

TRACE_EVENT(xprtrdma_marshal_failed,
 TP_PROTO(const struct rpc_rqst *rqst,
   int ret
 ),

 TP_ARGS(rqst, ret),

 TP_STRUCT__entry(
  __field(unsigned int, task_id)
  __field(unsigned int, client_id)
  __field(u32, xid)
  __field(int, ret)
 ),

 TP_fast_assign(
  __entry->task_id = rqst->rq_task->tk_pid;
  __entry->client_id = rqst->rq_task->tk_client->cl_clid;
  __entry->xid = be32_to_cpu(rqst->rq_xid);
  __entry->ret = ret;
 ),

 TP_printk(SUNRPC_TRACE_TASK_SPECIFIER "
 xid=0x%08x ret=%d",
  __entry->task_id, __entry->client_id, __entry->xid,
  __entry->ret
 )
);

xprtrdma_prepsend_failed,
 TP_PROTO  _entry-offset =offset;
   int ret
 ),

 TP_ARGS(rqst, ret),

 TP_STRUCT__entry(
  _ )
  __field(unsigned int, client_idjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  __field(u32, xid)
  _  _entry->length, (unsigned long long)_entry->ffset,
 ),

 TP_fast_assign(
  _  _entry->handle
  __entry->client_id = rqst->rq_task->tk_client->cl_clid;
  __entry->xid = be32_to_cpu(rqst->rq_xid);
  __entry->ret = ret;
 ),

 (SUNRPC_TRACE_TASK_SPECIFIER "
 xid=0x%08x ret=%d",
  _ TP_PROTO(
  __entry->ret
 )
);

CE_EVENTxprtrdma_post_send,
 TP_PROTO(
  const struct rpcrdma_req *req
 ),

 (eq,

 TP_STRUCT__entry(
  __field(u32, cq_id)
  _ TP_STRUCT__entry(
  __field(unsigned int, task_id)
  __field(unsigned int, client_id)
  _)
  __field(int, signaled)
 ),

 TP_fast_assign(
  const struct rpc_rqst *rqst = & )
  const struct rpcrdma_sendctx *sc =

  __entry- TP_fast_assign(
  __entry->completion_id = sc->sc_cid.ci_completion_id;
  _entry->task_id  rqst-rq_task-tk_pid;
  __entry-> __entry->client_id ->tk_client>cl_clid;
         rqst,
  __entry->num_sge = req->rl_wr.num_sge;
  __entry->signaled = req->rl_wr.send_flags TP_printk(UNRPC_TRACE_TASK_SPECIFIERjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
 ),

 TP_printk(SUNRPC_TRACE_TASK_SPECIFIER
  /*
  __entry->cq_id, *Callback 
*/
  (__entry->signaled ? "
signaled" : "")
 )
)

 TP_PROTO(
 TP_PROTO(
  const truct  java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  const
  int rc
 ),

 TP_ARGS(r_xprt, req, rc),

 TP_STRUCT__entry(
  _ield(32, java.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
  __field(unsigned int, task_id)
  __field(unsigned java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
  __field(int  _entry-reqs =reqs;
 ),

 TP_fast_assign(
  const struct rpc_rqst *rqst = &req->rl_slot;
  const struct rpcrdma_ep *ep = r_xprt ,

  __entry->cq_id = ep ? ep->re_attr.recv_cq
  __ (peer=[%]:% u reqs"

  __entry->client_id = rqst _get_straddr,_get_str(port) _entry-reqs
 
  __entry->)
 ),

 TP_printk(java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 28
 ->client_id,
  __entry->cq_id, __entry->rc
 )
java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0

DEFINE_SIMPLE_CID_EVENT(xprtrdma_post_recv);

java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
TP_PROTO
  const struct rpcrdma_xprt *r_xprt TP_PROTO(
  unsigned int count
 ),

 (,count,

 TP_STRUCT__entry
  __field(u32
  __field( TP_ARGS(rdma, sta)
  __field(int, posted)
  __string(addr, rpcrdma_addrstr(r_xprt))
  __string(port, rpcrdma_portstr(r_xprt))
 ),

 TP_fast_assign(
   __fieldlong status)

  __entry->cq_id = ep->re_attr.recv_cq-> __string(addr, rdma->sc_xprt.xpt_remotebu
  _->ount = count;
  __entry->posted
  __assign_str(addr) TP_fast_assignjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
  __assign_str(port);
 ,

 TP_printk("peer=[%s]:%sjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  __get_str(addr), __get_str( _get_str(addr), __entry->status
  __entry->count, __entry->posted
 )
);

TRACE_EVENT(xprtrdma_post_recvs_err,
 TP_PROTO(
  const struct rpcrdma_xprt *r_xprt,
  int status
 ),

 TP_ARGS(r_xprt, status),

 TP_STRUCT__entry(
  __field(u32, cq_id)
 java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
  __string(addr, rpcrdma_addrstr(r_xprt))
  __string(port, rpcrdma_portstr(r_xprt))
 )

TP_fast_assign(
  const struct java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 8

  __entry->cq_id = ep
  FEFINE_ACCEPT_EVENT(pd);
  __assign_str(addr);
  __assign_str(port);
 ),

 (peer[s]% .d=drc%"

  __get_str(addrDEFINE_ACCEPT_EVENT;
  __entry->statusDEFINE_ACCEPT_EVENTinitdepthjava.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
 )
);

TRACE_EVENTxprtrdma_post_linv_errjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
 TP_PROTO(
    *req
  int status
 ),

 TP_ARGS(req, status),

 (
  __field(unsigned
  __field_print_symbolic(x,   
  __field(int  { RDMA_MSG", \
)

      RDMA_MSGP, "
DMA_MSGP } java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
  const struct rpc_task *task = req->    RDMA_ERROR RDMA_ERROR"}java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33

  __entry->task_id = task->tk_pid;
  __entry->client_id = task TP_PROTO(
  __entry->status = status;
 ),

 TP_printk(SUNRPC_TRACE_TASK_SPECIFIERb*p,
  __entry->task_id, __entry->client_id, __entry->status
 )
);

/**
 ** Completion events
 **/

DEFINE_RECEIVE_COMPLETION_EVENT(xprtrdma_wc_receive)

DEFINE_COMPLETION_EVENT(prtrdma_wc_send;
DEFINE_MR_COMPLETION_EVENT(xprtrdma_wc_fastreg);
DEFINE_MR_COMPLETION_EVENT(xprtrdma_wc_li);
DEFINE_MR_COMPLETION_EVENT(xprtrdma_wc_li_wake);
__field(int,completion_id)

TRACE_EVENT(xprtrdma_frwr_alloc,
 TP_PROTO(
  const struct rpcrdma_mr 
  int rc
 )

TP_ARGS(mr,rc,

 _field(unsigned int,hdrlen)
  __field(u32, mr_id)
  __field(int, rc)
 ),

 TP_fast_assign(
  __entry->mr_id = mr->mr_ibmr-> TP_fast_assignjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
  _-rc =rc
 ),

TP_printk(mr.=u rc=d,
  __entry- __ntry-xid  be32_to_cpup(+)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
 )
  _entry-credits = be32_to_cpup(p++);

TRACE_EVENT(xprtrdma_frwr_dereg,
  __entry>roc  be32_to_cpup()
  const struct rpcrdma_mr *mr,
 int rc
 ),

 TP_ARGS(mr, rc),

 TP_STRUCT__entry(
  __field(u32, mr_id)
  __field(int, nents)
  __field(u32, handle)
 __field(u32,length)
  __field(u64, offset)
  __field(u32, dir)
  __field(int, rc)
 ),

 TP_fast_assign(
  __entry->mr_id  = mr->java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 10
  __entry->nents  = mr->mr_nents;
  
  -ljava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 34
 = mr-mr_offset;
  __entry->dir    = mr->mr_dir;
 _entry-rc= ;
 ),

 (mr.id=unents=d u0%016llx:x%x(s:rc%"

  __entry->mr_id  _field( ,hdrlen)
  (unsigned long long)__entry->offset, __entry->handle,
  xprtrdma_show_direction(__entry->dir),
  __entry->rc
 java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
;

RACE_EVENT(prtrdma_frwr_sgerr,
 TP_PROTO(
  )java.lang.StringIndexOutOfBoundsException: Range [3, 4) out of bounds for length 3
   TP_printk".d=u =d hdrlen="
 ),

 TP_ARGS(mr, sg_nents),

 java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
  __field(u32, mr_id)
  _u64,addrjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
  __field(u32, dir)
  _(int )
 ),

 TP_fast_assign(
 ->mr_id=mr-mr_ibmr>.d
  __entry->addr = mr- ),
  __entry->dir = mr->mr_dir;java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  __entry->nents = sg_nents;
 ),

 =u DMAaddr%llx(s sg_nents%,
  __entry->mr_id, _field(, cq_id)
  xprtrdma_show_direction(__ __ield(,completion_id
  _>
 )
);

_fieldu, )
 TP_PROTO(
  const struct rpcrdma_mr *mr,
  java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
 ),

 TP_ARGS(mr, num_mapped),

 TP_STRUCT__entry(
  __field(u32, mr_id)
  _(64,addr)
  __field(u32, dir)
  __field(int,  __entry->vers = be32_to(+)
 _field(int,nents)
 ),

 TP_fast_assign(
  __entry->mr_id = mr- ),
  __entry->addr = mr->mr_sg->dma_address;
  __entry->dir = mr->mr_dir;
 _-num_mapped=num_mappedjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
  __entry->nents = mr- _entry->,__ntry> _->redits _>java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
 ),

.id=u DMAaddr0xllx %)nents=of%",
  _entry-mr_id,_entry-addr,
        svcrdma_decode_name##_rr, java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
  __entry->num_mapped   const struct svc_rdma_recv_ctxt ctxt \
)
;

DEFINE_MR_EVENT(fastreg);
DEFINE_MR_EVENT
DEFINE_BADREQ_EVENT(;
);

DEFINE_ANON_MR_EVENT(unmap)

java.lang.StringIndexOutOfBoundsException: Range [27, 11) out of bounds for length 32
 TP_PROTO(
  u64 addr
 ),

 TP_ARGS(addr),

 TP_STRUCT__entry(
  __field(u64, addr)
 ),

 TP_fast_assign(
  __entry->addr = addr;
 ),

 TP_printk(,_entry-length,
);


 ** java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 2
 **/

TRACE_EVENT(xprtrdma_reply, struct java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 37
 TP_PROTO(
  const struct rpc_task *task,
  rjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 32
  unsigned int __field(u32, handle
 ,

 TP_ARGS(task, rep, _

 java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
 _unsigned, task_id)
  __field(unsigned int, client_id)
  __field(u32, xid)
  __field(unsigned int, credits)
 ),

 TP_fast_assign(
  __entry->task_id = task->tk_pid;
  __entry->client_id = task->tk_client->cl_clid;
  __entry->xid = be32_to_cpu(rep->rr_xid);
  __entry->credits = credits;
 ),

 TP_printk(SUNRPC_TRACE_TASK_SPECIFIER "
 xid=0x%08x credits=%u",
  __entry->task_id, __entry->client_id, __entry->xid,
  __entry->credits
 )
);

DEFINE_REPLY_EVENT(vers);
DEFINE_REPLY_EVENT(rqst);
DEFINE_REPLY_EVENT(short);
DEFINE_REPLY_EVENT(hdr);

TRACE_EVENT(prtrdma_err_vers,
 TP_PROTO(
  const struct rpc_rqst *rqst,
  __be32 *min,
  __be32 *max
 ,

 TP_ARGS(rqst, min, max),

 java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
  __field(unsigned int, _>  >java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
  __field( TP_printk("cq.id= % =position=u %0x%008"

  __ _>, _->java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
 _fieldu32,min)
  __ (unsigned long_entry- _java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 54
 ),

 TP_fast_assign(
  __entry->task_id  struct cidjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
  __entryu32
  __entry->xid = be32_to_cpu(
  _T java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 28
  __entry->max = be32_to_cpup_ java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
 ),

 TP_printk(SUNRPC_TRACE_TASK_SPECIFIER "  __(,handle)
  __entry->task_id, __java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 22
  __entry->min )java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
 )
)

,
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  const struct __entry->completion_id- >java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 49
 ),

 TP_ARGS(rqst),

 TP_STRUCT__entry(
 _  
  __field(unsigned),
  __field(u32, xid)TP_printk(cqid% = % u@x%16llx008x,
 ),

 __entrys _java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 34
  __entry-> 
 ;
  __entry->xidjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 ) java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10

 TP_printk(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
 
 )
);

TRACE_EVENT(java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 3
 TP_PROTO(
  const struct rpc_rqst *rqst,
  __be32 *procedure
 ),

 TP_ARGS(rqst )

 TP_STRUCT__entry(
  __field(unsigned int, task_id)
  __field(unsigned int, client_id)
  _ TP_printk"
=,
  __field(u32, procedure)
 ),

 TP_fast_assign(
  _#n)    \
  __entry->client_id = DEFINE_EVENT(svcrdma_error_event#name 
  __entry->procedure =  _ xid 
 )

 TP_printk(SUNRPC_TRACE_TASK_SPECIFIER "
 _>,_> _-,
 -p
 )
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 2

TRACE_EVENT(xprtrdma_fixup,
 TP_PROTO(
  const struct rpc_rqst *rqst,
  long 
 ),

 ( ,

 (
 _ ,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
  __fieldjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  _field(unsigned ong,fixup)
  __field(size_t, headlen)
  __field(unsigned int, pagelen)
 _,taillen)
 ),

 TP_fast_assign(
 _entry-> -r-tjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
  _)java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
 _-=java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 25
  ____entry  -ci_completion_id
 _entry- = qst>.java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
  __entry->taillen),
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

 TP_printk(SUNRPC_TRACE_TASK_SPECIFIER "
 fixup=%lu xdr=%zu  _c ejava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 41
)
  __entry->headlen, _)
 )
)#java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 40

TRACE_EVENT(xprtrdma_decode_seg,
 TP_PROTO(
    java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 22
  u32 length,
  u64 offset
 ),

 TP_ARGS(handle, length, offset) )

 TP_STRUCT__entry(
  __field(u32, handle)
  __field(u32, length)
  __field(u64, offset)
 ),

 TP_fast_assign(
  __entry->handle = handle;
  __entry->length = length;
  __entry->offset  *
 ),

 TP_printk("%u  u32 handle,
  __entry->length, (unsigned long long)_ unsigned int nents,
  _entry->handle
 )
);

xprtrdma_mrs_zap,
 TP_PROTO(
  const TP_STRUCT__entry
 ),

TP_ARGSt)

java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
  __field(unsigned int, ,
  __field(unsigned int, client_id)
 ),

 TP_fast_assign(
id=task->tk_pid;
  __entry->client_id_entry->andle =handle
  _>=java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27

 TP_printk(java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 3
  __entry->task_id, __entry  _i completion_idjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
 )
);

/**
 ** Callback events
 **/

TRACE_EVENT(java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 0

  const struct
  java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 19
 ),

, ,

 TP_STRUCT__entry(
  __field(unsigned int
 _string( java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 41
 _java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 41
 ),

 TP_fast_assign(
  __entry->reqs = reqs;
  __assign_str(addr);
  __assign_str(port);
 ),

 TP_printk("
peer=svcrdma_wc_send_err;
  __get_str(addr), __get_str(port), __entry->reqs
 )
);

DEFINE_CALLBACK_EVENT(call);
DEFINE_CALLBACK_EVENT(reply);

/**
 ** Server-side RPC/RDMA DEFINE_RECEIVE_FLUSH_EVENT(svcrdma_wc_recv_err);
 **/


sjava.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 41
  ,
  const
  long status
 ),

 TP_ARGS( java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18

Tjava.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
  __field(long, status)
  __string(addr, rdma->sc_xprt.xpt_remotebuf)
 ),

 java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
  _entry>tatus= statusjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
  __assign_str(addr;
 ),

 TP_printk("addr=%s )
)
 )
;

#define DEFINE_ACCEPT_EVENT(name) \
  DEFINE_EVENT(svcrdma_accept_class, svcrdma_# sqecount
    TP_PROTO( \
     const struct java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 24
    
     ,
 

DEFINE_ACCEPT_EVENT(pd);
 __entry->cq_id = cid->ci_queue_id;
DEFINE_ACCEPT_EVENT(fabric);
DEFINE_ACCEPT_EVENT(initdepth);
java.lang.StringIndexOutOfBoundsException: Range [26, 19) out of bounds for length 28

TRACE_DEFINE_ENUM(RDMA_MSG);
TRACE_DEFINE_ENUM(RDMA_NOMSG);
TRACE_DEFINE_ENUM(RDMA_MSGP);
TRACE_DEFINE_ENUM(RDMA_DONE  s###_hunk, \
TRACE_DEFINE_ENUM(RDMA_ERROR  ( \

#define show_rpcrdma_proc(x)      \
  __print_symbolic i   
    {  )   java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    {  const ktime_tposttime
 ,
    { RDMA_DONE, "
TP_ARGS(wc, cid, totalbytes)
    { RDMA_ERROR, Tjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18

java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
 TP_PROTO(
  const struct java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
  __be32 *p,
  unsigned int hdrlen
 ,

  p ,

 TP_STRUCT__entry(
  __field(u32, cq_id)
  __field(intjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
  
  __field(u32, _cq_id _c
  _ _-java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 44
  _;
  __field(unsigned int, hdrlen)
 ),

 TP_fast_assign(
 _>=ctxt>c_cidci_queue_id
  __(;
  __entry->xid  __assign_strdevice;
  __entry->vers = be32_to_cpup(p++);
  -credits=be32_to_cpupp+;
   "", )java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
 _>=hdrlen
 ),

 TP_printkrdma_show_ib_event_entry>)_>java.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
  __entry->cq_id, __entry-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  __entry->xidjava.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 10
  java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 3
()


 s(,-java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 34
  const struct svc_rdma_recv_ctxt *ctxt,
  unsigned int hdrlen
)

 TP_ARGS(ctxt, hdrlen),

 TP_STRUCT__entry(
  __field(u32, cq_id)
  __field(intjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 61
 f(java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 31
 ),

 TP_fast_assign(
   =ctxt>.ci_queue_id;
  __entry->completion_id = ctxt->rc_cid.java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 10
 _ejava.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 27
 ),

 TP_printk("cq.id=%u cid=%java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 0
ntryjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
  __entry-> __field(int,java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
);

DECLARE_EVENT_CLASS(svcrdma_badreq_event,
 TP_PROTO(
  const struct svc_rdma_recv_ctxtjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  __be32 *p
 ),

 TP_ARGS(ctxt)

  TP_printkc.% = %/d,
  __ _- _>completion_id,
  _ _java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 32
  __field(u32, xid)
  __field(u32, vers)
 _field(u32, proc)
  __field(u32, credits)
 ),

 TP_fast_assign(
  __entry->cq_id \
  __entry->completion_id = ctxt   const   *dma,\
  __entry->xid = be32_to_cpup(p++);
  __entry->vers   java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 37
_+)
  __java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
 ),

 TP_printk("
cq.s)java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
 _- _-
 >,__ntry-_entry>credits,__entry>proc)
);

#define DEFINE_BADREQ_EVENT(name)     \
  DEFINE_EVENT(svcrdma_badreq_event,   \
        svcrdma_decode_##name##_err,  \
  TP_PROTO(  \
     const struct svc_rdma_recv_ctxt *ctxt, \
     __java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    )java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    TP_ARGS(ctxt, p))

Tjava.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
dropjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
DEFINE_BADREQ_EVENT(badproc_(intdepthjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 3

TP_fast_assignjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
TP_PROTOjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
 structsvc_rdma_send_ctxt *,
  u32 segno,
  u32 handlejava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
   length,
  u64 offset
 ,

 TP_ARGS(ctxt, segno, handle, length, offset),

 java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
 cq_idjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
 _field(nt,completion_id
  __field(u32, segno)
 field java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  __field(u32java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
  
 ),TP_PROTO


  __entry->cq_id ,
  __entry->completion_id = ctxt->sc_cid.ci_completion_id;
   device,
  __entry->handle = handle;
  __entry->java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 0
  __entry->offset =   _stringname, >amejava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
 ),

 TP_fast_assign
  ___name;
  __entry-)java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
  (unsignedrpcrdma_client_add_one
 )
);

TRACE_EVENT(svcrdma_decode_rseg,
 TP_PROTO(
 DEFINE_CLIENT_DEVICE_EVENT(rpcrdma_client_wait_on)
  const struct svc_rdma_chunk *chunk,
  const struct svc_rdma_segment *segment
 ),

, chunk,segment),

 TP_STRUCT__entry(
  __field(u32, cq_id)
  __field(int, completion_id)
 _field(32 segno)
  __field(u32, position)
  _field(u32,handle)
  __field(u32, length)
  __field(u64, offset)
 ),

 TP_fast_assign(
  __entry->cq_id = java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 21
   TP_STRUCT__entry(
  __entry->segno = chunk->ch_segcount;
  -position = chunk->ch_position;
  __entry->handle = segment->rs_handle;
  __ __fieldvoid * callback
  __entry->offset = segment->rs_offset;
 )

 TP_printk("cq.id=% )java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
  __entry->cq_id, __entry->completion_id,
  __entry->segno, __entry->position, __entry->length,
  (unsigned long long)__entry->offset,   >n_donejava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
 )
);

TRACE_EVENT(svcrdma_decode_wseg,
TP_PROTO(
  const struct rpc_rdma_cid *cid,
  const struct svc_rdma_chunk *chunk,
 u32 segno
 ),

 TP_ARGS(cid, chunk, segno),

 TP_STRUCT__entry(
  __field(u32, cq_id)
 _field(int, completion_id)
  __field(u32, segno)
  __field(u32, handle)
  _)
  __field(u64, offset)
 )java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3

 TP_fast_assign(
  const struct svc_rdma_segment *segment =
   &  const struct rpcrdma_notification *rn   \

  __entry->cq_id = java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 12
 _entry->ompletion_id = cid->ci_completion_id;
  __entry->segno = segno;
  __entry->java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 0
 = segment->rs_length;
  __entry->offset = segment->rs_offset;
 ),

 TP_printk("
cq.id=%u cid=%d segno=%u %u@0x%016
  _#ndif/* _TRACE_RPCRDMA_H */
  
  (unsigned long #nclude tracedefine_trace.java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 )
);

DECLARE_EVENT_CLASS(svcrdma_error_event,
 TP_PROTO(
  __be32 xid
 ),

 TP_ARGS(xid),

 TP_STRUCT__entry(
  __field(u32, xid)
 ),

 TP_fast_assign(
  __entry->xid = be32_to_cpu(xid);
 ),

 TP_printk("xid=0x%08x",
  __entry->xid
 )
);

#define DEFINE_ERROR_EVENT(name)     \
  DEFINE_EVENT(svcrdma_error_event, svcrdma_err_##name, \
    TP_PROTO(    \
     __be32 xid   \
    ),     \
    TP_ARGS(xid))

DEFINE_ERROR_EVENT(vers);
DEFINE_ERROR_EVENT(chunk);

/**
 ** Server-side RDMA API events
 **/


DECLARE_EVENT_CLASS(svcrdma_dma_map_class,
 TP_PROTO(
  const struct rpc_rdma_cid *cid,
  u64 dma_addr,
  u32 length
 ),

 TP_ARGS(cid, dma_addr, length),

 TP_STRUCT__entry(
  __field(u32, cq_id)
  __field(int, completion_id)
  __field(u64, dma_addr)
  __field(u32, length)
 ),

 TP_fast_assign(
  __entry->cq_id = cid->ci_queue_id;
  __entry->completion_id = cid->ci_completion_id;
  __entry->dma_addr = dma_addr;
  __entry->length = length;
 ),

 TP_printk("cq.id=%u cid=%d dma_addr=%llu length=%u",
  __entry->cq_id, __entry->completion_id,
  __entry->dma_addr, __entry->length
 )
);

#define DEFINE_SVC_DMA_EVENT(name)     \
  DEFINE_EVENT(svcrdma_dma_map_class, svcrdma_##name, \
    TP_PROTO(    \
     const struct rpc_rdma_cid *cid, \
     u64 dma_addr,   \
     u32 length   \
    ),     \
    TP_ARGS(cid, dma_addr, length)  \
  )

DEFINE_SVC_DMA_EVENT(dma_map_page);
DEFINE_SVC_DMA_EVENT(dma_map_err);
DEFINE_SVC_DMA_EVENT(dma_unmap_page);

TRACE_EVENT(svcrdma_dma_map_rw_err,
 TP_PROTO(
  const struct svcxprt_rdma *rdma,
  u64 offset,
  u32 handle,
  unsigned int nents,
  int status
 ),

 TP_ARGS(rdma, offset, handle, nents, status),

 TP_STRUCT__entry(
  __field(u32, cq_id)
  __field(u32, handle)
  __field(u64, offset)
  __field(unsigned int, nents)
  __field(int, status)
 ),

 TP_fast_assign(
  __entry->cq_id = rdma->sc_sq_cq->res.id;
  __entry->handle = handle;
  __entry->offset = offset;
  __entry->nents = nents;
  __entry->status = status;
 ),

 TP_printk("cq.id=%u 0x%016llx:0x%08x nents=%u status=%d",
  __entry->cq_id, (unsigned long long)__entry->offset,
  __entry->handle, __entry->nents, __entry->status
 )
);

TRACE_EVENT(svcrdma_rwctx_empty,
 TP_PROTO(
  const struct svcxprt_rdma *rdma,
  unsigned int num_sges
 ),

 TP_ARGS(rdma, num_sges),

 TP_STRUCT__entry(
  __field(u32, cq_id)
  __field(unsigned int, num_sges)
 ),

 TP_fast_assign(
  __entry->cq_id = rdma->sc_sq_cq->res.id;
  __entry->num_sges = num_sges;
 ),

 TP_printk("cq.id=%u num_sges=%d",
  __entry->cq_id, __entry->num_sges
 )
);

TRACE_EVENT(svcrdma_page_overrun_err,
 TP_PROTO(
  const struct rpc_rdma_cid *cid,
  unsigned int pageno
 ),

 TP_ARGS(cid, pageno),

 TP_STRUCT__entry(
  __field(u32, cq_id)
  __field(int, completion_id)
  __field(unsigned int, pageno)
 ),

 TP_fast_assign(
  __entry->cq_id = cid->ci_queue_id;
  __entry->completion_id = cid->ci_completion_id;
  __entry->pageno = pageno;
 ),

 TP_printk("cq.id=%u cid=%d pageno=%u",
  __entry->cq_id, __entry->completion_id,
  __entry->pageno
 )
);

TRACE_EVENT(svcrdma_small_wrch_err,
 TP_PROTO(
  const struct rpc_rdma_cid *cid,
  unsigned int remaining,
  unsigned int seg_no,
  unsigned int num_segs
 ),

 TP_ARGS(cid, remaining, seg_no, num_segs),

 TP_STRUCT__entry(
  __field(u32, cq_id)
  __field(int, completion_id)
  __field(unsigned int, remaining)
  __field(unsigned int, seg_no)
  __field(unsigned int, num_segs)
 ),

 TP_fast_assign(
  __entry->cq_id = cid->ci_queue_id;
  __entry->completion_id = cid->ci_completion_id;
  __entry->remaining = remaining;
  __entry->seg_no = seg_no;
  __entry->num_segs = num_segs;
 ),

 TP_printk("cq.id=%u cid=%d remaining=%u seg_no=%u num_segs=%u",
  __entry->cq_id, __entry->completion_id,
  __entry->remaining, __entry->seg_no, __entry->num_segs
 )
);

TRACE_EVENT(svcrdma_send_pullup,
 TP_PROTO(
  const struct svc_rdma_send_ctxt *ctxt,
  unsigned int msglen
 ),

 TP_ARGS(ctxt, msglen),

 TP_STRUCT__entry(
  __field(u32, cq_id)
  __field(int, completion_id)
  __field(unsigned int, hdrlen)
  __field(unsigned int, msglen)
 ),

 TP_fast_assign(
  __entry->cq_id = ctxt->sc_cid.ci_queue_id;
  __entry->completion_id = ctxt->sc_cid.ci_completion_id;
  __entry->hdrlen = ctxt->sc_hdrbuf.len,
  __entry->msglen = msglen;
 ),

 TP_printk("cq.id=%u cid=%d hdr=%u msg=%u (total %u)",
  __entry->cq_id, __entry->completion_id,
  __entry->hdrlen, __entry->msglen,
  __entry->hdrlen + __entry->msglen)
);

TRACE_EVENT(svcrdma_send_err,
 TP_PROTO(
  const struct svc_rqst *rqst,
  int status
 ),

 TP_ARGS(rqst, status),

 TP_STRUCT__entry(
  __field(int, status)
  __field(u32, xid)
  __string(addr, rqst->rq_xprt->xpt_remotebuf)
 ),

 TP_fast_assign(
  __entry->status = status;
  __entry->xid = __be32_to_cpu(rqst->rq_xid);
  __assign_str(addr);
 ),

 TP_printk("addr=%s xid=0x%08x status=%d", __get_str(addr),
  __entry->xid, __entry->status
 )
);

TRACE_EVENT(svcrdma_post_send,
 TP_PROTO(
  const struct svc_rdma_send_ctxt *ctxt
 ),

 TP_ARGS(ctxt),

 TP_STRUCT__entry(
  __field(u32, cq_id)
  __field(int, completion_id)
  __field(unsigned int, num_sge)
  __field(u32, inv_rkey)
 ),

 TP_fast_assign(
  const struct ib_send_wr *wr = &ctxt->sc_send_wr;

  __entry->cq_id = ctxt->sc_cid.ci_queue_id;
  __entry->completion_id = ctxt->sc_cid.ci_completion_id;
  __entry->num_sge = wr->num_sge;
  __entry->inv_rkey = (wr->opcode == IB_WR_SEND_WITH_INV) ?
     wr->ex.invalidate_rkey : 0;
 ),

 TP_printk("cq.id=%u cid=%d num_sge=%u inv_rkey=0x%08x",
  __entry->cq_id, __entry->completion_id,
  __entry->num_sge, __entry->inv_rkey
 )
);

DEFINE_SIMPLE_CID_EVENT(svcrdma_wc_send);
DEFINE_SEND_FLUSH_EVENT(svcrdma_wc_send_flush);
DEFINE_SEND_FLUSH_EVENT(svcrdma_wc_send_err);

DEFINE_SIMPLE_CID_EVENT(svcrdma_post_recv);

DEFINE_RECEIVE_SUCCESS_EVENT(svcrdma_wc_recv);
DEFINE_RECEIVE_FLUSH_EVENT(svcrdma_wc_recv_flush);
DEFINE_RECEIVE_FLUSH_EVENT(svcrdma_wc_recv_err);

TRACE_EVENT(svcrdma_rq_post_err,
 TP_PROTO(
  const struct svcxprt_rdma *rdma,
  int status
 ),

 TP_ARGS(rdma, status),

 TP_STRUCT__entry(
  __field(int, status)
  __string(addr, rdma->sc_xprt.xpt_remotebuf)
 ),

 TP_fast_assign(
  __entry->status = status;
  __assign_str(addr);
 ),

 TP_printk("addr=%s status=%d",
  __get_str(addr), __entry->status
 )
);

DECLARE_EVENT_CLASS(svcrdma_post_chunk_class,
 TP_PROTO(
  const struct rpc_rdma_cid *cid,
  int sqecount
 ),

 TP_ARGS(cid, sqecount),

 TP_STRUCT__entry(
  __field(u32, cq_id)
  __field(int, completion_id)
  __field(int, sqecount)
 ),

 TP_fast_assign(
  __entry->cq_id = cid->ci_queue_id;
  __entry->completion_id = cid->ci_completion_id;
  __entry->sqecount = sqecount;
 ),

 TP_printk("cq.id=%u cid=%d sqecount=%d",
  __entry->cq_id, __entry->completion_id,
  __entry->sqecount
 )
);

#define DEFINE_POST_CHUNK_EVENT(name)     \
  DEFINE_EVENT(svcrdma_post_chunk_class,   \
    svcrdma_post_##name##_chunk,  \
    TP_PROTO(    \
     const struct rpc_rdma_cid *cid, \
     int sqecount   \
    ),     \
    TP_ARGS(cid, sqecount))

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,
  const struct rpc_rdma_cid *cid,
  unsigned int totalbytes,
  const ktime_t posttime
 ),

 TP_ARGS(wc, cid, totalbytes, posttime),

 TP_STRUCT__entry(
  __field(u32, cq_id)
  __field(int, completion_id)
  __field(s64, read_latency)
  __field(unsigned int, totalbytes)
 ),

 TP_fast_assign(
  __entry->cq_id = cid->ci_queue_id;
  __entry->completion_id = cid->ci_completion_id;
  __entry->totalbytes = totalbytes;
  __entry->read_latency = ktime_us_delta(ktime_get(), posttime);
 ),

 TP_printk("cq.id=%u cid=%d totalbytes=%u latency-us=%lld",
  __entry->cq_id, __entry->completion_id,
  __entry->totalbytes, __entry->read_latency
 )
);

DEFINE_SEND_FLUSH_EVENT(svcrdma_wc_read_flush);
DEFINE_SEND_FLUSH_EVENT(svcrdma_wc_read_err);
DEFINE_SIMPLE_CID_EVENT(svcrdma_read_finished);

DEFINE_SIMPLE_CID_EVENT(svcrdma_wc_write);
DEFINE_SEND_FLUSH_EVENT(svcrdma_wc_write_flush);
DEFINE_SEND_FLUSH_EVENT(svcrdma_wc_write_err);

DEFINE_SIMPLE_CID_EVENT(svcrdma_wc_reply);
DEFINE_SEND_FLUSH_EVENT(svcrdma_wc_reply_flush);
DEFINE_SEND_FLUSH_EVENT(svcrdma_wc_reply_err);

TRACE_EVENT(svcrdma_qp_error,
 TP_PROTO(
  const struct ib_event *event,
  const struct sockaddr *sap
 ),

 TP_ARGS(event, sap),

 TP_STRUCT__entry(
  __field(unsigned int, event)
  __string(device, event->device->name)
  __array(__u8, addr, INET6_ADDRSTRLEN + 10)
 ),

 TP_fast_assign(
  __entry->event = event->event;
  __assign_str(device);
  snprintf(__entry->addr, sizeof(__entry->addr) - 1,
    "%pISpc", sap);
 ),

 TP_printk("addr=%s dev=%s event=%s (%u)",
  __entry->addr, __get_str(device),
  rdma_show_ib_event(__entry->event), __entry->event
 )
);

TRACE_EVENT(svcrdma_device_removal,
 TP_PROTO(
  const struct rdma_cm_id *id
 ),

 TP_ARGS(id),

 TP_STRUCT__entry(
  __string(name, id->device->name)
  __array(unsigned char, addr, sizeof(struct sockaddr_in6))
 ),

 TP_fast_assign(
  __assign_str(name);
  memcpy(__entry->addr, &id->route.addr.dst_addr,
         sizeof(struct sockaddr_in6));
 ),

 TP_printk("device %s to be removed, disconnecting %pISpc\n",
  __get_str(name), __entry->addr
 )
);

DECLARE_EVENT_CLASS(svcrdma_sendqueue_class,
 TP_PROTO(
  const struct svcxprt_rdma *rdma,
  const struct rpc_rdma_cid *cid
 ),

 TP_ARGS(rdma, cid),

 TP_STRUCT__entry(
  __field(u32, cq_id)
  __field(int, completion_id)
  __field(int, avail)
  __field(int, depth)
 ),

 TP_fast_assign(
  __entry->cq_id = cid->ci_queue_id;
  __entry->completion_id = cid->ci_completion_id;
  __entry->avail = atomic_read(&rdma->sc_sq_avail);
  __entry->depth = rdma->sc_sq_depth;
 ),

 TP_printk("cq.id=%u cid=%d sc_sq_avail=%d/%d",
  __entry->cq_id, __entry->completion_id,
  __entry->avail, __entry->depth
 )
);

#define DEFINE_SQ_EVENT(name)      \
  DEFINE_EVENT(svcrdma_sendqueue_class, name,  \
   TP_PROTO(     \
    const struct svcxprt_rdma *rdma, \
    const struct rpc_rdma_cid *cid  \
   ),      \
   TP_ARGS(rdma, cid)    \
  )

DEFINE_SQ_EVENT(svcrdma_sq_full);
DEFINE_SQ_EVENT(svcrdma_sq_retry);

TRACE_EVENT(svcrdma_sq_post_err,
 TP_PROTO(
  const struct svcxprt_rdma *rdma,
  const struct rpc_rdma_cid *cid,
  int status
 ),

 TP_ARGS(rdma, cid, status),

 TP_STRUCT__entry(
  __field(u32, cq_id)
  __field(int, completion_id)
  __field(int, avail)
  __field(int, depth)
  __field(int, status)
 ),

 TP_fast_assign(
  __entry->cq_id = cid->ci_queue_id;
  __entry->completion_id = cid->ci_completion_id;
  __entry->avail = atomic_read(&rdma->sc_sq_avail);
  __entry->depth = rdma->sc_sq_depth;
  __entry->status = status;
 ),

 TP_printk("cq.id=%u cid=%d sc_sq_avail=%d/%d status=%d",
  __entry->cq_id, __entry->completion_id,
  __entry->avail, __entry->depth, __entry->status
 )
);

DECLARE_EVENT_CLASS(rpcrdma_client_device_class,
 TP_PROTO(
  const struct ib_device *device
 ),

 TP_ARGS(device),

 TP_STRUCT__entry(
  __string(name, device->name)
 ),

 TP_fast_assign(
  __assign_str(name);
 ),

 TP_printk("device=%s",
  __get_str(name)
 )
);

#define DEFINE_CLIENT_DEVICE_EVENT(name)    \
 DEFINE_EVENT(rpcrdma_client_device_class, name,   \
  TP_PROTO(      \
   const struct ib_device *device   \
  ),       \
  TP_ARGS(device)      \
 )

DEFINE_CLIENT_DEVICE_EVENT(rpcrdma_client_completion);
DEFINE_CLIENT_DEVICE_EVENT(rpcrdma_client_add_one);
DEFINE_CLIENT_DEVICE_EVENT(rpcrdma_client_remove_one);
DEFINE_CLIENT_DEVICE_EVENT(rpcrdma_client_wait_on);
DEFINE_CLIENT_DEVICE_EVENT(rpcrdma_client_remove_one_done);

DECLARE_EVENT_CLASS(rpcrdma_client_register_class,
 TP_PROTO(
  const struct ib_device *device,
  const struct rpcrdma_notification *rn
 ),

 TP_ARGS(device, rn),

 TP_STRUCT__entry(
  __string(name, device->name)
  __field(void *, callback)
  __field(u32, index)
 ),

 TP_fast_assign(
  __assign_str(name);
  __entry->callback = rn->rn_done;
  __entry->index = rn->rn_index;
 ),

 TP_printk("device=%s index=%u done callback=%pS\n",
  __get_str(name), __entry->index, __entry->callback
 )
);

#define DEFINE_CLIENT_REGISTER_EVENT(name)    \
 DEFINE_EVENT(rpcrdma_client_register_class, name,  \
 TP_PROTO(       \
  const struct ib_device *device,    \
  const struct rpcrdma_notification *rn   \
 ),        \
 TP_ARGS(device, rn))

DEFINE_CLIENT_REGISTER_EVENT(rpcrdma_client_register);
DEFINE_CLIENT_REGISTER_EVENT(rpcrdma_client_unregister);

#endif /* _TRACE_RPCRDMA_H */

#include <trace/define_trace.h>

Messung
CHZG
8210010094

¤ Dauer der Verarbeitung: 0.15 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland