1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
|
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(C) 2020 Marvell International Ltd.
*/
#include <rte_trace_point_register.h>
#include "rte_eventdev_trace.h"
/* Eventdev trace points */
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_configure);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_queue_setup);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_port_setup);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_port_link);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_port_unlink);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_start);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_stop);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_close);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_enq_burst);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_deq_burst);
/* Eventdev Rx adapter trace points */
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_eth_rx_adapter_create);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_eth_rx_adapter_free);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_eth_rx_adapter_queue_add);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_eth_rx_adapter_queue_del);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_eth_rx_adapter_start);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_eth_rx_adapter_stop);
/* Eventdev Tx adapter trace points */
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_eth_tx_adapter_create);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_eth_tx_adapter_free);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_eth_tx_adapter_queue_add);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_eth_tx_adapter_queue_del);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_eth_tx_adapter_start);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_eth_tx_adapter_stop);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_eth_tx_adapter_enqueue);
/* Eventdev Timer adapter trace points */
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_timer_adapter_create);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_timer_adapter_start);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_timer_adapter_stop);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_timer_adapter_free);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_timer_arm_burst);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_timer_arm_tmo_tick_burst);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_timer_cancel_burst);
/* Eventdev Crypto adapter trace points */
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_crypto_adapter_create);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_crypto_adapter_free);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_crypto_adapter_queue_pair_add);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_crypto_adapter_queue_pair_del);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_crypto_adapter_start);
RTE_TRACE_POINT_DEFINE(rte_eventdev_trace_crypto_adapter_stop);
RTE_INIT(eventdev_trace_init)
{
/* Eventdev trace points */
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_configure,
lib.eventdev.configure);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_queue_setup,
lib.eventdev.queue.setup);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_port_setup,
lib.eventdev.port.setup);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_port_link,
lib.eventdev.port.link);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_port_unlink,
lib.eventdev.port.unlink);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_start,
lib.eventdev.start);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_stop,
lib.eventdev.stop);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_close,
lib.eventdev.close);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_enq_burst,
lib.eventdev.enq.burst);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_deq_burst,
lib.eventdev.deq.burst);
/* Eventdev Rx adapter trace points */
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_rx_adapter_create,
lib.eventdev.rx.adapter.create);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_rx_adapter_free,
lib.eventdev.rx.adapter.free);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_rx_adapter_queue_add,
lib.eventdev.rx.adapter.queue.add);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_rx_adapter_queue_del,
lib.eventdev.rx.adapter.queue.del);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_rx_adapter_start,
lib.eventdev.rx.adapter.start);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_rx_adapter_stop,
lib.eventdev.rx.adapter.stop);
/* Eventdev Tx adapter trace points */
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_create,
lib.eventdev.tx.adapter.create);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_free,
lib.eventdev.tx.adapter.free);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_queue_add,
lib.eventdev.tx.adapter.queue.add);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_queue_del,
lib.eventdev.tx.adapter.queue.del);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_start,
lib.eventdev.tx.adapter.start);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_stop,
lib.eventdev.tx.adapter.stop);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_enqueue,
lib.eventdev.tx.adapter.enq);
/* Eventdev Timer adapter trace points */
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_adapter_create,
lib.eventdev.timer.create);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_adapter_start,
lib.eventdev.timer.start);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_adapter_stop,
lib.eventdev.timer.stop);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_adapter_free,
lib.eventdev.timer.free);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_arm_burst,
lib.eventdev.timer.burst);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_arm_tmo_tick_burst,
lib.eventdev.timer.tick.burst);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_cancel_burst,
lib.eventdev.timer.cancel);
/* Eventdev Crypto adapter trace points */
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_crypto_adapter_create,
lib.eventdev.crypto.create);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_crypto_adapter_free,
lib.eventdev.crypto.free);
RTE_TRACE_POINT_REGISTER(
rte_eventdev_trace_crypto_adapter_queue_pair_add,
lib.eventdev.crypto.queue.add);
RTE_TRACE_POINT_REGISTER(
rte_eventdev_trace_crypto_adapter_queue_pair_del,
lib.eventdev.crypto.queue.del);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_crypto_adapter_start,
lib.eventdev.crypto.start);
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_crypto_adapter_stop,
lib.eventdev.crypto.stop);
}
|