rpcrdma.h (7c0577f4e609f7278ebd6d21e2de82b42f110944) rpcrdma.h (2abfbe7e3a725380f22f572c69da41515a0dd43b)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (c) 2017, 2018 Oracle. All rights reserved.
4 *
5 * Trace point definitions for the "rpcrdma" subsystem.
6 */
7#undef TRACE_SYSTEM
8#define TRACE_SYSTEM rpcrdma

--- 1569 unchanged lines hidden (view full) ---

1578 u64 dma_addr, \
1579 u32 length \
1580 ), \
1581 TP_ARGS(rdma, dma_addr, length))
1582
1583DEFINE_SVC_DMA_EVENT(dma_map_page);
1584DEFINE_SVC_DMA_EVENT(dma_unmap_page);
1585
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (c) 2017, 2018 Oracle. All rights reserved.
4 *
5 * Trace point definitions for the "rpcrdma" subsystem.
6 */
7#undef TRACE_SYSTEM
8#define TRACE_SYSTEM rpcrdma

--- 1569 unchanged lines hidden (view full) ---

1578 u64 dma_addr, \
1579 u32 length \
1580 ), \
1581 TP_ARGS(rdma, dma_addr, length))
1582
1583DEFINE_SVC_DMA_EVENT(dma_map_page);
1584DEFINE_SVC_DMA_EVENT(dma_unmap_page);
1585
1586TRACE_EVENT(svcrdma_dma_map_rwctx,
1586TRACE_EVENT(svcrdma_dma_map_rw_err,
1587 TP_PROTO(
1588 const struct svcxprt_rdma *rdma,
1587 TP_PROTO(
1588 const struct svcxprt_rdma *rdma,
1589 unsigned int nents,
1589 int status
1590 ),
1591
1590 int status
1591 ),
1592
1592 TP_ARGS(rdma, status),
1593 TP_ARGS(rdma, nents, status),
1593
1594 TP_STRUCT__entry(
1595 __field(int, status)
1594
1595 TP_STRUCT__entry(
1596 __field(int, status)
1597 __field(unsigned int, nents)
1596 __string(device, rdma->sc_cm_id->device->name)
1597 __string(addr, rdma->sc_xprt.xpt_remotebuf)
1598 ),
1599
1600 TP_fast_assign(
1601 __entry->status = status;
1598 __string(device, rdma->sc_cm_id->device->name)
1599 __string(addr, rdma->sc_xprt.xpt_remotebuf)
1600 ),
1601
1602 TP_fast_assign(
1603 __entry->status = status;
1604 __entry->nents = nents;
1602 __assign_str(device, rdma->sc_cm_id->device->name);
1603 __assign_str(addr, rdma->sc_xprt.xpt_remotebuf);
1604 ),
1605
1605 __assign_str(device, rdma->sc_cm_id->device->name);
1606 __assign_str(addr, rdma->sc_xprt.xpt_remotebuf);
1607 ),
1608
1606 TP_printk("addr=%s device=%s status=%d",
1607 __get_str(addr), __get_str(device), __entry->status
1609 TP_printk("addr=%s device=%s nents=%u status=%d",
1610 __get_str(addr), __get_str(device), __entry->nents,
1611 __entry->status
1608 )
1609);
1610
1611TRACE_EVENT(svcrdma_send_pullup,
1612 TP_PROTO(
1613 unsigned int len
1614 ),
1615

--- 278 unchanged lines hidden ---
1612 )
1613);
1614
1615TRACE_EVENT(svcrdma_send_pullup,
1616 TP_PROTO(
1617 unsigned int len
1618 ),
1619

--- 278 unchanged lines hidden ---