1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2020 Marvell International Ltd.
5 #include <rte_trace_point_register.h>
7 #include "rte_eventdev_trace.h"
9 /* Eventdev trace points */
10 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_configure,
11 lib.eventdev.configure)
13 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_queue_setup,
14 lib.eventdev.queue.setup)
16 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_port_setup,
17 lib.eventdev.port.setup)
19 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_port_link,
20 lib.eventdev.port.link)
22 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_port_unlink,
23 lib.eventdev.port.unlink)
25 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_start,
28 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_stop,
31 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_close,
34 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_enq_burst,
35 lib.eventdev.enq.burst)
37 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_deq_burst,
38 lib.eventdev.deq.burst)
40 /* Eventdev Rx adapter trace points */
41 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_rx_adapter_create,
42 lib.eventdev.rx.adapter.create)
44 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_rx_adapter_free,
45 lib.eventdev.rx.adapter.free)
47 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_rx_adapter_queue_add,
48 lib.eventdev.rx.adapter.queue.add)
50 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_rx_adapter_queue_del,
51 lib.eventdev.rx.adapter.queue.del)
53 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_rx_adapter_start,
54 lib.eventdev.rx.adapter.start)
56 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_rx_adapter_stop,
57 lib.eventdev.rx.adapter.stop)
59 /* Eventdev Tx adapter trace points */
60 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_create,
61 lib.eventdev.tx.adapter.create)
63 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_free,
64 lib.eventdev.tx.adapter.free)
66 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_queue_add,
67 lib.eventdev.tx.adapter.queue.add)
69 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_queue_del,
70 lib.eventdev.tx.adapter.queue.del)
72 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_start,
73 lib.eventdev.tx.adapter.start)
75 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_stop,
76 lib.eventdev.tx.adapter.stop)
78 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_enqueue,
79 lib.eventdev.tx.adapter.enq)
81 /* Eventdev Timer adapter trace points */
82 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_adapter_create,
83 lib.eventdev.timer.create)
85 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_adapter_start,
86 lib.eventdev.timer.start)
88 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_adapter_stop,
89 lib.eventdev.timer.stop)
91 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_adapter_free,
92 lib.eventdev.timer.free)
94 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_arm_burst,
95 lib.eventdev.timer.burst)
97 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_arm_tmo_tick_burst,
98 lib.eventdev.timer.tick.burst)
100 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_cancel_burst,
101 lib.eventdev.timer.cancel)
103 /* Eventdev Crypto adapter trace points */
104 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_crypto_adapter_create,
105 lib.eventdev.crypto.create)
107 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_crypto_adapter_free,
108 lib.eventdev.crypto.free)
110 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_crypto_adapter_queue_pair_add,
111 lib.eventdev.crypto.queue.add)
113 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_crypto_adapter_queue_pair_del,
114 lib.eventdev.crypto.queue.del)
116 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_crypto_adapter_start,
117 lib.eventdev.crypto.start)
119 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_crypto_adapter_stop,
120 lib.eventdev.crypto.stop)