DPDK  24.11.0-rc3
rte_eventdev_trace_fp.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(C) 2020 Marvell International Ltd.
3  */
4 
5 #ifndef _RTE_EVENTDEV_TRACE_FP_H_
6 #define _RTE_EVENTDEV_TRACE_FP_H_
7 
14 #include <rte_trace_point.h>
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
21  rte_eventdev_trace_deq_burst,
22  RTE_TRACE_POINT_ARGS(uint8_t dev_id, uint8_t port_id, void *ev_table,
23  uint16_t nb_events),
25  rte_trace_point_emit_u8(port_id);
26  rte_trace_point_emit_ptr(ev_table);
27  rte_trace_point_emit_u16(nb_events);
28 )
29 
31  rte_eventdev_trace_enq_burst,
32  RTE_TRACE_POINT_ARGS(uint8_t dev_id, uint8_t port_id,
33  const void *ev_table, uint16_t nb_events, void *enq_mode_cb),
35  rte_trace_point_emit_u8(port_id);
36  rte_trace_point_emit_ptr(ev_table);
37  rte_trace_point_emit_u16(nb_events);
38  rte_trace_point_emit_ptr(enq_mode_cb);
39 )
40 
42  rte_eventdev_trace_maintain,
43  RTE_TRACE_POINT_ARGS(uint8_t dev_id, uint8_t port_id, int op),
45  rte_trace_point_emit_u8(port_id);
47 )
48 
50  rte_eventdev_trace_port_profile_switch,
51  RTE_TRACE_POINT_ARGS(uint8_t dev_id, uint8_t port_id, uint8_t profile),
53  rte_trace_point_emit_u8(port_id);
54  rte_trace_point_emit_u8(profile);
55 )
56 
58  rte_eventdev_trace_port_preschedule_modify,
59  RTE_TRACE_POINT_ARGS(uint8_t dev_id, uint8_t port_id,
60  int type),
62  rte_trace_point_emit_u8(port_id);
64 )
65 
67  rte_eventdev_trace_port_preschedule,
68  RTE_TRACE_POINT_ARGS(uint8_t dev_id, uint8_t port_id, int type),
70  rte_trace_point_emit_u8(port_id);
72 )
73 
75  rte_eventdev_trace_eth_tx_adapter_enqueue,
76  RTE_TRACE_POINT_ARGS(uint8_t dev_id, uint8_t port_id, void *ev_table,
77  uint16_t nb_events, const uint8_t flags),
79  rte_trace_point_emit_u8(port_id);
80  rte_trace_point_emit_ptr(ev_table);
81  rte_trace_point_emit_u16(nb_events);
83 )
84 
86  rte_eventdev_trace_crypto_adapter_enqueue,
87  RTE_TRACE_POINT_ARGS(uint8_t dev_id, uint8_t port_id, void *ev_table,
88  uint16_t nb_events),
90  rte_trace_point_emit_u8(port_id);
91  rte_trace_point_emit_ptr(ev_table);
92  rte_trace_point_emit_u16(nb_events);
93 )
94 
96  rte_eventdev_trace_timer_arm_burst,
97  RTE_TRACE_POINT_ARGS(const void *adapter, void **evtims_table,
98  uint16_t nb_evtims),
99  rte_trace_point_emit_ptr(adapter);
100  rte_trace_point_emit_ptr(evtims_table);
101  rte_trace_point_emit_u16(nb_evtims);
102 )
103 
105  rte_eventdev_trace_timer_arm_tmo_tick_burst,
106  RTE_TRACE_POINT_ARGS(const void *adapter, const uint64_t timeout_ticks,
107  void **evtims_table, const uint16_t nb_evtims),
108  rte_trace_point_emit_ptr(adapter);
109  rte_trace_point_emit_u64(timeout_ticks);
110  rte_trace_point_emit_ptr(evtims_table);
111  rte_trace_point_emit_u16(nb_evtims);
112 )
113 
115  rte_eventdev_trace_timer_cancel_burst,
116  RTE_TRACE_POINT_ARGS(const void *adapter, void **evtims_table,
117  uint16_t nb_evtims),
118  rte_trace_point_emit_ptr(adapter);
119  rte_trace_point_emit_ptr(evtims_table);
120  rte_trace_point_emit_u16(nb_evtims);
121 )
122 
123 #ifdef __cplusplus
124 }
125 #endif
126 
127 #endif /* _RTE_EVENTDEV_TRACE_FP_H_ */
#define rte_trace_point_emit_int(val)
#define RTE_TRACE_POINT_ARGS
#define rte_trace_point_emit_u8(val)
#define rte_trace_point_emit_u16(val)
#define rte_trace_point_emit_ptr(val)
#define RTE_TRACE_POINT_FP(tp, args,...)
#define rte_trace_point_emit_u64(val)