2020-04-22 19:03:46 +00:00
|
|
|
/* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
* Copyright(C) 2020 Marvell International Ltd.
|
|
|
|
*/
|
|
|
|
|
2020-04-29 13:46:49 +00:00
|
|
|
#include <rte_trace_point_register.h>
|
2020-04-22 19:03:46 +00:00
|
|
|
|
|
|
|
#include "rte_eventdev_trace.h"
|
|
|
|
|
|
|
|
/* Eventdev trace points */
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_configure,
|
|
|
|
lib.eventdev.configure)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_queue_setup,
|
|
|
|
lib.eventdev.queue.setup)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_port_setup,
|
|
|
|
lib.eventdev.port.setup)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_port_link,
|
|
|
|
lib.eventdev.port.link)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_port_unlink,
|
|
|
|
lib.eventdev.port.unlink)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_start,
|
|
|
|
lib.eventdev.start)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_stop,
|
|
|
|
lib.eventdev.stop)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_close,
|
|
|
|
lib.eventdev.close)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_enq_burst,
|
|
|
|
lib.eventdev.enq.burst)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_deq_burst,
|
|
|
|
lib.eventdev.deq.burst)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
/* Eventdev Rx adapter trace points */
|
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_rx_adapter_create,
|
|
|
|
lib.eventdev.rx.adapter.create)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_rx_adapter_free,
|
|
|
|
lib.eventdev.rx.adapter.free)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_rx_adapter_queue_add,
|
|
|
|
lib.eventdev.rx.adapter.queue.add)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_rx_adapter_queue_del,
|
|
|
|
lib.eventdev.rx.adapter.queue.del)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_rx_adapter_start,
|
|
|
|
lib.eventdev.rx.adapter.start)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_rx_adapter_stop,
|
|
|
|
lib.eventdev.rx.adapter.stop)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
/* Eventdev Tx adapter trace points */
|
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_create,
|
|
|
|
lib.eventdev.tx.adapter.create)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_free,
|
|
|
|
lib.eventdev.tx.adapter.free)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_queue_add,
|
|
|
|
lib.eventdev.tx.adapter.queue.add)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_queue_del,
|
|
|
|
lib.eventdev.tx.adapter.queue.del)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_start,
|
|
|
|
lib.eventdev.tx.adapter.start)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_stop,
|
|
|
|
lib.eventdev.tx.adapter.stop)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_eth_tx_adapter_enqueue,
|
|
|
|
lib.eventdev.tx.adapter.enq)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
/* Eventdev Timer adapter trace points */
|
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_adapter_create,
|
|
|
|
lib.eventdev.timer.create)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_adapter_start,
|
|
|
|
lib.eventdev.timer.start)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_adapter_stop,
|
|
|
|
lib.eventdev.timer.stop)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_adapter_free,
|
|
|
|
lib.eventdev.timer.free)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_arm_burst,
|
|
|
|
lib.eventdev.timer.burst)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_arm_tmo_tick_burst,
|
|
|
|
lib.eventdev.timer.tick.burst)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_timer_cancel_burst,
|
|
|
|
lib.eventdev.timer.cancel)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
/* Eventdev Crypto adapter trace points */
|
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_crypto_adapter_create,
|
|
|
|
lib.eventdev.crypto.create)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_crypto_adapter_free,
|
|
|
|
lib.eventdev.crypto.free)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_crypto_adapter_queue_pair_add,
|
|
|
|
lib.eventdev.crypto.queue.add)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_crypto_adapter_queue_pair_del,
|
|
|
|
lib.eventdev.crypto.queue.del)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_crypto_adapter_start,
|
|
|
|
lib.eventdev.crypto.start)
|
2020-04-22 19:03:46 +00:00
|
|
|
|
2020-07-04 15:14:08 +00:00
|
|
|
RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_crypto_adapter_stop,
|
|
|
|
lib.eventdev.crypto.stop)
|