0fc601af3a
RTE_TRACE_POINT_DEFINE and RTE_TRACE_POINT_REGISTER must come in pairs. Merge them and let RTE_TRACE_POINT_REGISTER handle the constructor part. Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
32 lines
749 B
C
32 lines
749 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright(C) 2020 Marvell International Ltd.
|
|
*/
|
|
|
|
#include <rte_trace_point_register.h>
|
|
|
|
#include <rte_ethdev_trace.h>
|
|
|
|
RTE_TRACE_POINT_REGISTER(rte_ethdev_trace_configure,
|
|
lib.ethdev.configure)
|
|
|
|
RTE_TRACE_POINT_REGISTER(rte_ethdev_trace_rxq_setup,
|
|
lib.ethdev.rxq.setup)
|
|
|
|
RTE_TRACE_POINT_REGISTER(rte_ethdev_trace_txq_setup,
|
|
lib.ethdev.txq.setup)
|
|
|
|
RTE_TRACE_POINT_REGISTER(rte_ethdev_trace_start,
|
|
lib.ethdev.start)
|
|
|
|
RTE_TRACE_POINT_REGISTER(rte_ethdev_trace_stop,
|
|
lib.ethdev.stop)
|
|
|
|
RTE_TRACE_POINT_REGISTER(rte_ethdev_trace_close,
|
|
lib.ethdev.close)
|
|
|
|
RTE_TRACE_POINT_REGISTER(rte_ethdev_trace_rx_burst,
|
|
lib.ethdev.rx.burst)
|
|
|
|
RTE_TRACE_POINT_REGISTER(rte_ethdev_trace_tx_burst,
|
|
lib.ethdev.tx.burst)
|