[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.20
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
src
/
kernels
/
4.18.0-553.63.1.el8_10.x86_64
/
include
/
trace
/
events
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 9p.h
5,218 B
SET
[ EDIT ]
|
[ DEL ]
📄 afs.h
17,619 B
SET
[ EDIT ]
|
[ DEL ]
📄 alarmtimer.h
2,087 B
SET
[ EDIT ]
|
[ DEL ]
📄 asoc.h
5,300 B
SET
[ EDIT ]
|
[ DEL ]
📄 avc.h
1,292 B
SET
[ EDIT ]
|
[ DEL ]
📄 bcache.h
11,165 B
SET
[ EDIT ]
|
[ DEL ]
📄 block.h
16,779 B
SET
[ EDIT ]
|
[ DEL ]
📄 bpf_test_run.h
1,048 B
SET
[ EDIT ]
|
[ DEL ]
📄 bridge.h
3,509 B
SET
[ EDIT ]
|
[ DEL ]
📄 btrfs.h
49,763 B
SET
[ EDIT ]
|
[ DEL ]
📄 cachefiles.h
8,350 B
SET
[ EDIT ]
|
[ DEL ]
📄 cgroup.h
4,387 B
SET
[ EDIT ]
|
[ DEL ]
📄 clk.h
3,777 B
SET
[ EDIT ]
|
[ DEL ]
📄 cma.h
1,339 B
SET
[ EDIT ]
|
[ DEL ]
📄 compaction.h
8,089 B
SET
[ EDIT ]
|
[ DEL ]
📄 context_tracking.h
1,177 B
SET
[ EDIT ]
|
[ DEL ]
📄 cpuhp.h
1,871 B
SET
[ EDIT ]
|
[ DEL ]
📄 damon.h
1,162 B
SET
[ EDIT ]
|
[ DEL ]
📄 devlink.h
7,376 B
SET
[ EDIT ]
|
[ DEL ]
📄 dma_fence.h
1,700 B
SET
[ EDIT ]
|
[ DEL ]
📄 ext4.h
68,625 B
SET
[ EDIT ]
|
[ DEL ]
📄 f2fs.h
37,224 B
SET
[ EDIT ]
|
[ DEL ]
📄 fib.h
2,285 B
SET
[ EDIT ]
|
[ DEL ]
📄 fib6.h
2,423 B
SET
[ EDIT ]
|
[ DEL ]
📄 filelock.h
7,394 B
SET
[ EDIT ]
|
[ DEL ]
📄 filemap.h
2,804 B
SET
[ EDIT ]
|
[ DEL ]
📄 fs.h
3,373 B
SET
[ EDIT ]
|
[ DEL ]
📄 fs_dax.h
8,456 B
SET
[ EDIT ]
|
[ DEL ]
📄 fscache.h
15,208 B
SET
[ EDIT ]
|
[ DEL ]
📄 fsi.h
2,880 B
SET
[ EDIT ]
|
[ DEL ]
📄 fsi_master_gpio.h
1,576 B
SET
[ EDIT ]
|
[ DEL ]
📄 gpio.h
1,158 B
SET
[ EDIT ]
|
[ DEL ]
📄 host1x.h
5,798 B
SET
[ EDIT ]
|
[ DEL ]
📄 huge_memory.h
4,531 B
SET
[ EDIT ]
|
[ DEL ]
📄 i2c.h
4,254 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_mad.h
12,719 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_umad.h
4,095 B
SET
[ EDIT ]
|
[ DEL ]
📄 initcall.h
1,310 B
SET
[ EDIT ]
|
[ DEL ]
📄 intel-sst.h
2,571 B
SET
[ EDIT ]
|
[ DEL ]
📄 intel_ifs.h
860 B
SET
[ EDIT ]
|
[ DEL ]
📄 intel_iommu.h
2,297 B
SET
[ EDIT ]
|
[ DEL ]
📄 intel_ish.h
556 B
SET
[ EDIT ]
|
[ DEL ]
📄 io_uring.h
12,079 B
SET
[ EDIT ]
|
[ DEL ]
📄 iocost.h
5,044 B
SET
[ EDIT ]
|
[ DEL ]
📄 iommu.h
3,201 B
SET
[ EDIT ]
|
[ DEL ]
📄 ipi.h
2,956 B
SET
[ EDIT ]
|
[ DEL ]
📄 irq.h
3,889 B
SET
[ EDIT ]
|
[ DEL ]
📄 irq_matrix.h
5,055 B
SET
[ EDIT ]
|
[ DEL ]
📄 iscsi.h
2,336 B
SET
[ EDIT ]
|
[ DEL ]
📄 jbd2.h
10,487 B
SET
[ EDIT ]
|
[ DEL ]
📄 kmem.h
7,811 B
SET
[ EDIT ]
|
[ DEL ]
📄 kvm.h
11,423 B
SET
[ EDIT ]
|
[ DEL ]
📄 kyber.h
2,435 B
SET
[ EDIT ]
|
[ DEL ]
📄 libata.h
11,812 B
SET
[ EDIT ]
|
[ DEL ]
📄 lock.h
1,737 B
SET
[ EDIT ]
|
[ DEL ]
📄 mce.h
1,897 B
SET
[ EDIT ]
|
[ DEL ]
📄 mdio.h
1,048 B
SET
[ EDIT ]
|
[ DEL ]
📄 migrate.h
1,958 B
SET
[ EDIT ]
|
[ DEL ]
📄 mlxsw.h
2,682 B
SET
[ EDIT ]
|
[ DEL ]
📄 mmc.h
7,412 B
SET
[ EDIT ]
|
[ DEL ]
📄 mmflags.h
8,509 B
SET
[ EDIT ]
|
[ DEL ]
📄 module.h
2,851 B
SET
[ EDIT ]
|
[ DEL ]
📄 mptcp.h
4,374 B
SET
[ EDIT ]
|
[ DEL ]
📄 napi.h
1,013 B
SET
[ EDIT ]
|
[ DEL ]
📄 neigh.h
5,882 B
SET
[ EDIT ]
|
[ DEL ]
📄 net.h
7,210 B
SET
[ EDIT ]
|
[ DEL ]
📄 net_probe_common.h
1,235 B
SET
[ EDIT ]
|
[ DEL ]
📄 netlink.h
490 B
SET
[ EDIT ]
|
[ DEL ]
📄 nfs.h
13,994 B
SET
[ EDIT ]
|
[ DEL ]
📄 nilfs2.h
5,326 B
SET
[ EDIT ]
|
[ DEL ]
📄 nmi.h
780 B
SET
[ EDIT ]
|
[ DEL ]
📄 objagg.h
4,691 B
SET
[ EDIT ]
|
[ DEL ]
📄 oom.h
3,973 B
SET
[ EDIT ]
|
[ DEL ]
📄 osnoise.h
3,010 B
SET
[ EDIT ]
|
[ DEL ]
📄 page_isolation.h
943 B
SET
[ EDIT ]
|
[ DEL ]
📄 page_pool.h
2,650 B
SET
[ EDIT ]
|
[ DEL ]
📄 page_ref.h
3,034 B
SET
[ EDIT ]
|
[ DEL ]
📄 pagemap.h
2,191 B
SET
[ EDIT ]
|
[ DEL ]
📄 percpu.h
2,669 B
SET
[ EDIT ]
|
[ DEL ]
📄 power.h
12,169 B
SET
[ EDIT ]
|
[ DEL ]
📄 power_cpu_migrate.h
1,625 B
SET
[ EDIT ]
|
[ DEL ]
📄 preemptirq.h
2,163 B
SET
[ EDIT ]
|
[ DEL ]
📄 printk.h
786 B
SET
[ EDIT ]
|
[ DEL ]
📄 pwc.h
1,714 B
SET
[ EDIT ]
|
[ DEL ]
📄 qdisc.h
3,847 B
SET
[ EDIT ]
|
[ DEL ]
📄 qla.h
937 B
SET
[ EDIT ]
|
[ DEL ]
📄 qrtr.h
2,604 B
SET
[ EDIT ]
|
[ DEL ]
📄 random.h
7,621 B
SET
[ EDIT ]
|
[ DEL ]
📄 rcu.h
24,866 B
SET
[ EDIT ]
|
[ DEL ]
📄 rdma.h
4,337 B
SET
[ EDIT ]
|
[ DEL ]
📄 rdma_core.h
7,193 B
SET
[ EDIT ]
|
[ DEL ]
📄 regulator.h
2,456 B
SET
[ EDIT ]
|
[ DEL ]
📄 rpcgss.h
14,712 B
SET
[ EDIT ]
|
[ DEL ]
📄 rpcrdma.h
50,120 B
SET
[ EDIT ]
|
[ DEL ]
📄 rpm.h
2,394 B
SET
[ EDIT ]
|
[ DEL ]
📄 rseq.h
1,288 B
SET
[ EDIT ]
|
[ DEL ]
📄 rtc.h
3,354 B
SET
[ EDIT ]
|
[ DEL ]
📄 rxrpc.h
41,684 B
SET
[ EDIT ]
|
[ DEL ]
📄 sched.h
15,300 B
SET
[ EDIT ]
|
[ DEL ]
📄 scsi.h
12,614 B
SET
[ EDIT ]
|
[ DEL ]
📄 sctp.h
2,634 B
SET
[ EDIT ]
|
[ DEL ]
📄 signal.h
3,486 B
SET
[ EDIT ]
|
[ DEL ]
📄 siox.h
2,041 B
SET
[ EDIT ]
|
[ DEL ]
📄 skb.h
1,863 B
SET
[ EDIT ]
|
[ DEL ]
📄 smbus.h
7,715 B
SET
[ EDIT ]
|
[ DEL ]
📄 sock.h
4,547 B
SET
[ EDIT ]
|
[ DEL ]
📄 sof.h
3,364 B
SET
[ EDIT ]
|
[ DEL ]
📄 sof_intel.h
4,131 B
SET
[ EDIT ]
|
[ DEL ]
📄 spi.h
3,387 B
SET
[ EDIT ]
|
[ DEL ]
📄 spmi.h
3,336 B
SET
[ EDIT ]
|
[ DEL ]
📄 sunrpc.h
56,795 B
SET
[ EDIT ]
|
[ DEL ]
📄 sunrpc_base.h
474 B
SET
[ EDIT ]
|
[ DEL ]
📄 sunvnet.h
3,129 B
SET
[ EDIT ]
|
[ DEL ]
📄 swiotlb.h
1,050 B
SET
[ EDIT ]
|
[ DEL ]
📄 syscalls.h
1,512 B
SET
[ EDIT ]
|
[ DEL ]
📄 target.h
7,697 B
SET
[ EDIT ]
|
[ DEL ]
📄 task.h
1,526 B
SET
[ EDIT ]
|
[ DEL ]
📄 tcp.h
7,111 B
SET
[ EDIT ]
|
[ DEL ]
📄 thermal.h
5,559 B
SET
[ EDIT ]
|
[ DEL ]
📄 thermal_power_allocator.h
3,297 B
SET
[ EDIT ]
|
[ DEL ]
📄 thp.h
2,137 B
SET
[ EDIT ]
|
[ DEL ]
📄 timer.h
10,321 B
SET
[ EDIT ]
|
[ DEL ]
📄 tlb.h
1,439 B
SET
[ EDIT ]
|
[ DEL ]
📄 udp.h
632 B
SET
[ EDIT ]
|
[ DEL ]
📄 ufs.h
7,670 B
SET
[ EDIT ]
|
[ DEL ]
📄 v4l2.h
9,018 B
SET
[ EDIT ]
|
[ DEL ]
📄 vb2.h
1,769 B
SET
[ EDIT ]
|
[ DEL ]
📄 vmscan.h
12,784 B
SET
[ EDIT ]
|
[ DEL ]
📄 vsock_virtio_transport_common.h
3,572 B
SET
[ EDIT ]
|
[ DEL ]
📄 wbt.h
3,907 B
SET
[ EDIT ]
|
[ DEL ]
📄 workqueue.h
2,793 B
SET
[ EDIT ]
|
[ DEL ]
📄 writeback.h
23,341 B
SET
[ EDIT ]
|
[ DEL ]
📄 xdp.h
10,050 B
SET
[ EDIT ]
|
[ DEL ]
📄 xen.h
14,889 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: ib_mad.h
/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ /* * Copyright (c) 2018 Intel Corporation. All rights reserved. */ #undef TRACE_SYSTEM #define TRACE_SYSTEM ib_mad #if !defined(_TRACE_IB_MAD_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_IB_MAD_H #include <linux/tracepoint.h> #include <rdma/ib_mad.h> #ifdef CONFIG_TRACEPOINTS struct trace_event_raw_ib_mad_send_template; static void create_mad_addr_info(struct ib_mad_send_wr_private *mad_send_wr, struct ib_mad_qp_info *qp_info, struct trace_event_raw_ib_mad_send_template *entry); #endif DECLARE_EVENT_CLASS(ib_mad_send_template, TP_PROTO(struct ib_mad_send_wr_private *wr, struct ib_mad_qp_info *qp_info), TP_ARGS(wr, qp_info), TP_STRUCT__entry( __field(u8, base_version) __field(u8, mgmt_class) __field(u8, class_version) __field(u8, port_num) __field(u32, qp_num) __field(u8, method) __field(u8, sl) __field(u16, attr_id) __field(u32, attr_mod) __field(u64, wrtid) __field(u64, tid) __field(u16, status) __field(u16, class_specific) __field(u32, length) __field(u32, dlid) __field(u32, rqpn) __field(u32, rqkey) __field(u32, dev_index) __field(void *, agent_priv) __field(unsigned long, timeout) __field(int, retries_left) __field(int, max_retries) __field(int, retry) ), TP_fast_assign( __entry->dev_index = wr->mad_agent_priv->agent.device->index; __entry->port_num = wr->mad_agent_priv->agent.port_num; __entry->qp_num = wr->mad_agent_priv->qp_info->qp->qp_num; __entry->agent_priv = wr->mad_agent_priv; __entry->wrtid = wr->tid; __entry->max_retries = wr->max_retries; __entry->retries_left = wr->retries_left; __entry->retry = wr->retry; __entry->timeout = wr->timeout; __entry->length = wr->send_buf.hdr_len + wr->send_buf.data_len; __entry->base_version = ((struct ib_mad_hdr *)wr->send_buf.mad)->base_version; __entry->mgmt_class = ((struct ib_mad_hdr *)wr->send_buf.mad)->mgmt_class; __entry->class_version = ((struct ib_mad_hdr *)wr->send_buf.mad)->class_version; __entry->method = ((struct ib_mad_hdr *)wr->send_buf.mad)->method; __entry->status = ((struct ib_mad_hdr *)wr->send_buf.mad)->status; __entry->class_specific = ((struct ib_mad_hdr *)wr->send_buf.mad)->class_specific; __entry->tid = ((struct ib_mad_hdr *)wr->send_buf.mad)->tid; __entry->attr_id = ((struct ib_mad_hdr *)wr->send_buf.mad)->attr_id; __entry->attr_mod = ((struct ib_mad_hdr *)wr->send_buf.mad)->attr_mod; create_mad_addr_info(wr, qp_info, __entry); ), TP_printk("%d:%d QP%d agent %p: " \ "wrtid 0x%llx; %d/%d retries(%d); timeout %lu length %d : " \ "hdr : base_ver 0x%x class 0x%x class_ver 0x%x " \ "method 0x%x status 0x%x class_specific 0x%x tid 0x%llx " \ "attr_id 0x%x attr_mod 0x%x => dlid 0x%08x sl %d "\ "rpqn 0x%x rqpkey 0x%x", __entry->dev_index, __entry->port_num, __entry->qp_num, __entry->agent_priv, be64_to_cpu(__entry->wrtid), __entry->retries_left, __entry->max_retries, __entry->retry, __entry->timeout, __entry->length, __entry->base_version, __entry->mgmt_class, __entry->class_version, __entry->method, be16_to_cpu(__entry->status), be16_to_cpu(__entry->class_specific), be64_to_cpu(__entry->tid), be16_to_cpu(__entry->attr_id), be32_to_cpu(__entry->attr_mod), be32_to_cpu(__entry->dlid), __entry->sl, __entry->rqpn, __entry->rqkey ) ); DEFINE_EVENT(ib_mad_send_template, ib_mad_error_handler, TP_PROTO(struct ib_mad_send_wr_private *wr, struct ib_mad_qp_info *qp_info), TP_ARGS(wr, qp_info)); DEFINE_EVENT(ib_mad_send_template, ib_mad_ib_send_mad, TP_PROTO(struct ib_mad_send_wr_private *wr, struct ib_mad_qp_info *qp_info), TP_ARGS(wr, qp_info)); DEFINE_EVENT(ib_mad_send_template, ib_mad_send_done_resend, TP_PROTO(struct ib_mad_send_wr_private *wr, struct ib_mad_qp_info *qp_info), TP_ARGS(wr, qp_info)); TRACE_EVENT(ib_mad_send_done_handler, TP_PROTO(struct ib_mad_send_wr_private *wr, struct ib_wc *wc), TP_ARGS(wr, wc), TP_STRUCT__entry( __field(u8, port_num) __field(u8, base_version) __field(u8, mgmt_class) __field(u8, class_version) __field(u32, qp_num) __field(u64, wrtid) __field(u16, status) __field(u16, wc_status) __field(u32, length) __field(void *, agent_priv) __field(unsigned long, timeout) __field(u32, dev_index) __field(int, retries_left) __field(int, max_retries) __field(int, retry) __field(u8, method) ), TP_fast_assign( __entry->dev_index = wr->mad_agent_priv->agent.device->index; __entry->port_num = wr->mad_agent_priv->agent.port_num; __entry->qp_num = wr->mad_agent_priv->qp_info->qp->qp_num; __entry->agent_priv = wr->mad_agent_priv; __entry->wrtid = wr->tid; __entry->max_retries = wr->max_retries; __entry->retries_left = wr->retries_left; __entry->retry = wr->retry; __entry->timeout = wr->timeout; __entry->base_version = ((struct ib_mad_hdr *)wr->send_buf.mad)->base_version; __entry->mgmt_class = ((struct ib_mad_hdr *)wr->send_buf.mad)->mgmt_class; __entry->class_version = ((struct ib_mad_hdr *)wr->send_buf.mad)->class_version; __entry->method = ((struct ib_mad_hdr *)wr->send_buf.mad)->method; __entry->status = ((struct ib_mad_hdr *)wr->send_buf.mad)->status; __entry->wc_status = wc->status; __entry->length = wc->byte_len; ), TP_printk("%d:%d QP%d : SEND WC Status %d : agent %p: " \ "wrtid 0x%llx %d/%d retries(%d) timeout %lu length %d: " \ "hdr : base_ver 0x%x class 0x%x class_ver 0x%x " \ "method 0x%x status 0x%x", __entry->dev_index, __entry->port_num, __entry->qp_num, __entry->wc_status, __entry->agent_priv, be64_to_cpu(__entry->wrtid), __entry->retries_left, __entry->max_retries, __entry->retry, __entry->timeout, __entry->length, __entry->base_version, __entry->mgmt_class, __entry->class_version, __entry->method, be16_to_cpu(__entry->status) ) ); TRACE_EVENT(ib_mad_recv_done_handler, TP_PROTO(struct ib_mad_qp_info *qp_info, struct ib_wc *wc, struct ib_mad_hdr *mad_hdr), TP_ARGS(qp_info, wc, mad_hdr), TP_STRUCT__entry( __field(u8, base_version) __field(u8, mgmt_class) __field(u8, class_version) __field(u8, port_num) __field(u32, qp_num) __field(u16, status) __field(u16, class_specific) __field(u32, length) __field(u64, tid) __field(u8, method) __field(u8, sl) __field(u16, attr_id) __field(u32, attr_mod) __field(u16, src_qp) __field(u16, wc_status) __field(u32, slid) __field(u32, dev_index) ), TP_fast_assign( __entry->dev_index = qp_info->port_priv->device->index; __entry->port_num = qp_info->port_priv->port_num; __entry->qp_num = qp_info->qp->qp_num; __entry->length = wc->byte_len; __entry->base_version = mad_hdr->base_version; __entry->mgmt_class = mad_hdr->mgmt_class; __entry->class_version = mad_hdr->class_version; __entry->method = mad_hdr->method; __entry->status = mad_hdr->status; __entry->class_specific = mad_hdr->class_specific; __entry->tid = mad_hdr->tid; __entry->attr_id = mad_hdr->attr_id; __entry->attr_mod = mad_hdr->attr_mod; __entry->slid = wc->slid; __entry->src_qp = wc->src_qp; __entry->sl = wc->sl; __entry->wc_status = wc->status; ), TP_printk("%d:%d QP%d : RECV WC Status %d : length %d : hdr : " \ "base_ver 0x%02x class 0x%02x class_ver 0x%02x " \ "method 0x%02x status 0x%04x class_specific 0x%04x " \ "tid 0x%016llx attr_id 0x%04x attr_mod 0x%08x " \ "slid 0x%08x src QP%d, sl %d", __entry->dev_index, __entry->port_num, __entry->qp_num, __entry->wc_status, __entry->length, __entry->base_version, __entry->mgmt_class, __entry->class_version, __entry->method, be16_to_cpu(__entry->status), be16_to_cpu(__entry->class_specific), be64_to_cpu(__entry->tid), be16_to_cpu(__entry->attr_id), be32_to_cpu(__entry->attr_mod), __entry->slid, __entry->src_qp, __entry->sl ) ); DECLARE_EVENT_CLASS(ib_mad_agent_template, TP_PROTO(struct ib_mad_agent_private *agent), TP_ARGS(agent), TP_STRUCT__entry( __field(u32, dev_index) __field(u32, hi_tid) __field(u8, port_num) __field(u8, mgmt_class) __field(u8, mgmt_class_version) ), TP_fast_assign( __entry->dev_index = agent->agent.device->index; __entry->port_num = agent->agent.port_num; __entry->hi_tid = agent->agent.hi_tid; if (agent->reg_req) { __entry->mgmt_class = agent->reg_req->mgmt_class; __entry->mgmt_class_version = agent->reg_req->mgmt_class_version; } else { __entry->mgmt_class = 0; __entry->mgmt_class_version = 0; } ), TP_printk("%d:%d mad agent : hi_tid 0x%08x class 0x%02x class_ver 0x%02x", __entry->dev_index, __entry->port_num, __entry->hi_tid, __entry->mgmt_class, __entry->mgmt_class_version ) ); DEFINE_EVENT(ib_mad_agent_template, ib_mad_recv_done_agent, TP_PROTO(struct ib_mad_agent_private *agent), TP_ARGS(agent)); DEFINE_EVENT(ib_mad_agent_template, ib_mad_send_done_agent, TP_PROTO(struct ib_mad_agent_private *agent), TP_ARGS(agent)); DEFINE_EVENT(ib_mad_agent_template, ib_mad_create_agent, TP_PROTO(struct ib_mad_agent_private *agent), TP_ARGS(agent)); DEFINE_EVENT(ib_mad_agent_template, ib_mad_unregister_agent, TP_PROTO(struct ib_mad_agent_private *agent), TP_ARGS(agent)); DECLARE_EVENT_CLASS(ib_mad_opa_smi_template, TP_PROTO(struct opa_smp *smp), TP_ARGS(smp), TP_STRUCT__entry( __field(u64, mkey) __field(u32, dr_slid) __field(u32, dr_dlid) __field(u8, hop_ptr) __field(u8, hop_cnt) __array(u8, initial_path, OPA_SMP_MAX_PATH_HOPS) __array(u8, return_path, OPA_SMP_MAX_PATH_HOPS) ), TP_fast_assign( __entry->hop_ptr = smp->hop_ptr; __entry->hop_cnt = smp->hop_cnt; __entry->mkey = smp->mkey; __entry->dr_slid = smp->route.dr.dr_slid; __entry->dr_dlid = smp->route.dr.dr_dlid; memcpy(__entry->initial_path, smp->route.dr.initial_path, OPA_SMP_MAX_PATH_HOPS); memcpy(__entry->return_path, smp->route.dr.return_path, OPA_SMP_MAX_PATH_HOPS); ), TP_printk("OPA SMP: hop_ptr %d hop_cnt %d " \ "mkey 0x%016llx dr_slid 0x%08x dr_dlid 0x%08x " \ "initial_path %*ph return_path %*ph ", __entry->hop_ptr, __entry->hop_cnt, be64_to_cpu(__entry->mkey), be32_to_cpu(__entry->dr_slid), be32_to_cpu(__entry->dr_dlid), OPA_SMP_MAX_PATH_HOPS, __entry->initial_path, OPA_SMP_MAX_PATH_HOPS, __entry->return_path ) ); DEFINE_EVENT(ib_mad_opa_smi_template, ib_mad_handle_opa_smi, TP_PROTO(struct opa_smp *smp), TP_ARGS(smp)); DEFINE_EVENT(ib_mad_opa_smi_template, ib_mad_handle_out_opa_smi, TP_PROTO(struct opa_smp *smp), TP_ARGS(smp)); DECLARE_EVENT_CLASS(ib_mad_opa_ib_template, TP_PROTO(struct ib_smp *smp), TP_ARGS(smp), TP_STRUCT__entry( __field(u64, mkey) __field(u32, dr_slid) __field(u32, dr_dlid) __field(u8, hop_ptr) __field(u8, hop_cnt) __array(u8, initial_path, IB_SMP_MAX_PATH_HOPS) __array(u8, return_path, IB_SMP_MAX_PATH_HOPS) ), TP_fast_assign( __entry->hop_ptr = smp->hop_ptr; __entry->hop_cnt = smp->hop_cnt; __entry->mkey = smp->mkey; __entry->dr_slid = smp->dr_slid; __entry->dr_dlid = smp->dr_dlid; memcpy(__entry->initial_path, smp->initial_path, IB_SMP_MAX_PATH_HOPS); memcpy(__entry->return_path, smp->return_path, IB_SMP_MAX_PATH_HOPS); ), TP_printk("OPA SMP: hop_ptr %d hop_cnt %d " \ "mkey 0x%016llx dr_slid 0x%04x dr_dlid 0x%04x " \ "initial_path %*ph return_path %*ph ", __entry->hop_ptr, __entry->hop_cnt, be64_to_cpu(__entry->mkey), be16_to_cpu(__entry->dr_slid), be16_to_cpu(__entry->dr_dlid), IB_SMP_MAX_PATH_HOPS, __entry->initial_path, IB_SMP_MAX_PATH_HOPS, __entry->return_path ) ); DEFINE_EVENT(ib_mad_opa_ib_template, ib_mad_handle_ib_smi, TP_PROTO(struct ib_smp *smp), TP_ARGS(smp)); DEFINE_EVENT(ib_mad_opa_ib_template, ib_mad_handle_out_ib_smi, TP_PROTO(struct ib_smp *smp), TP_ARGS(smp)); #endif /* _TRACE_IB_MAD_H */ #include <trace/define_trace.h>