eventdev: make trace API internal
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Mon, 18 Oct 2021 23:36:08 +0000 (05:06 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 21 Oct 2021 08:16:00 +0000 (10:16 +0200)
Slowpath trace APIs are only used in rte_eventdev.c so make them
as internal.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Jay Jayatheerthan <jay.jayatheerthan@intel.com>
Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
lib/eventdev/eventdev_trace.h [new file with mode: 0644]
lib/eventdev/eventdev_trace_points.c
lib/eventdev/meson.build
lib/eventdev/rte_event_crypto_adapter.c
lib/eventdev/rte_event_eth_rx_adapter.c
lib/eventdev/rte_event_eth_tx_adapter.c
lib/eventdev/rte_event_timer_adapter.c
lib/eventdev/rte_eventdev.c
lib/eventdev/rte_eventdev_trace.h [deleted file]

diff --git a/lib/eventdev/eventdev_trace.h b/lib/eventdev/eventdev_trace.h
new file mode 100644 (file)
index 0000000..5ec43d8
--- /dev/null
@@ -0,0 +1,308 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(C) 2020 Marvell International Ltd.
+ */
+
+#ifndef _RTE_EVENTDEV_TRACE_H_
+#define _RTE_EVENTDEV_TRACE_H_
+
+/**
+ * @file
+ *
+ * API for ethdev trace support
+ */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <rte_trace_point.h>
+
+#include "rte_eventdev.h"
+#include "rte_event_eth_rx_adapter.h"
+#include "rte_event_timer_adapter.h"
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_configure,
+       RTE_TRACE_POINT_ARGS(uint8_t dev_id,
+               const struct rte_event_dev_config *dev_conf, int rc),
+       rte_trace_point_emit_u8(dev_id);
+       rte_trace_point_emit_u32(dev_conf->dequeue_timeout_ns);
+       rte_trace_point_emit_i32(dev_conf->nb_events_limit);
+       rte_trace_point_emit_u8(dev_conf->nb_event_queues);
+       rte_trace_point_emit_u8(dev_conf->nb_event_ports);
+       rte_trace_point_emit_u32(dev_conf->nb_event_queue_flows);
+       rte_trace_point_emit_u32(dev_conf->nb_event_port_dequeue_depth);
+       rte_trace_point_emit_u32(dev_conf->nb_event_port_enqueue_depth);
+       rte_trace_point_emit_u32(dev_conf->event_dev_cfg);
+       rte_trace_point_emit_u8(dev_conf->nb_single_link_event_port_queues);
+       rte_trace_point_emit_int(rc);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_queue_setup,
+       RTE_TRACE_POINT_ARGS(uint8_t dev_id, uint8_t queue_id,
+               const struct rte_event_queue_conf *queue_conf),
+       rte_trace_point_emit_u8(dev_id);
+       rte_trace_point_emit_u8(queue_id);
+       rte_trace_point_emit_u32(queue_conf->nb_atomic_flows);
+       rte_trace_point_emit_u32(queue_conf->nb_atomic_order_sequences);
+       rte_trace_point_emit_u32(queue_conf->event_queue_cfg);
+       rte_trace_point_emit_u8(queue_conf->schedule_type);
+       rte_trace_point_emit_u8(queue_conf->priority);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_port_setup,
+       RTE_TRACE_POINT_ARGS(uint8_t dev_id, uint8_t port_id,
+               const struct rte_event_port_conf *port_conf, int rc),
+       rte_trace_point_emit_u8(dev_id);
+       rte_trace_point_emit_u8(port_id);
+       rte_trace_point_emit_i32(port_conf->new_event_threshold);
+       rte_trace_point_emit_u16(port_conf->dequeue_depth);
+       rte_trace_point_emit_u16(port_conf->enqueue_depth);
+       rte_trace_point_emit_u32(port_conf->event_port_cfg);
+       rte_trace_point_emit_int(rc);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_port_link,
+       RTE_TRACE_POINT_ARGS(uint8_t dev_id, uint8_t port_id,
+               uint16_t nb_links, int rc),
+       rte_trace_point_emit_u8(dev_id);
+       rte_trace_point_emit_u8(port_id);
+       rte_trace_point_emit_u16(nb_links);
+       rte_trace_point_emit_int(rc);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_port_unlink,
+       RTE_TRACE_POINT_ARGS(uint8_t dev_id, uint8_t port_id,
+               uint16_t nb_unlinks, int rc),
+       rte_trace_point_emit_u8(dev_id);
+       rte_trace_point_emit_u8(port_id);
+       rte_trace_point_emit_u16(nb_unlinks);
+       rte_trace_point_emit_int(rc);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_start,
+       RTE_TRACE_POINT_ARGS(uint8_t dev_id, int rc),
+       rte_trace_point_emit_u8(dev_id);
+       rte_trace_point_emit_int(rc);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_stop,
+       RTE_TRACE_POINT_ARGS(uint8_t dev_id),
+       rte_trace_point_emit_u8(dev_id);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_close,
+       RTE_TRACE_POINT_ARGS(uint8_t dev_id),
+       rte_trace_point_emit_u8(dev_id);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_eth_rx_adapter_create,
+       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint8_t dev_id, void *conf_cb,
+               void *conf_arg),
+       rte_trace_point_emit_u8(adptr_id);
+       rte_trace_point_emit_u8(dev_id);
+       rte_trace_point_emit_ptr(conf_cb);
+       rte_trace_point_emit_ptr(conf_arg);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_eth_rx_adapter_free,
+       RTE_TRACE_POINT_ARGS(uint8_t adptr_id),
+       rte_trace_point_emit_u8(adptr_id);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_eth_rx_adapter_queue_add,
+       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint16_t eth_dev_id,
+               int32_t rx_queue_id,
+               const struct rte_event_eth_rx_adapter_queue_conf *queue_conf,
+               int rc),
+       rte_trace_point_emit_u8(adptr_id);
+       rte_trace_point_emit_u16(eth_dev_id);
+       rte_trace_point_emit_i32(rx_queue_id);
+       rte_trace_point_emit_u32(queue_conf->rx_queue_flags);
+       rte_trace_point_emit_u16(queue_conf->servicing_weight);
+       rte_trace_point_emit_u8(queue_conf->ev.queue_id);
+       rte_trace_point_emit_u8(queue_conf->ev.priority);
+       rte_trace_point_emit_int(rc);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_eth_rx_adapter_queue_del,
+       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint16_t eth_dev_id,
+               int32_t rx_queue_id, int rc),
+       rte_trace_point_emit_u8(adptr_id);
+       rte_trace_point_emit_u16(eth_dev_id);
+       rte_trace_point_emit_i32(rx_queue_id);
+       rte_trace_point_emit_int(rc);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_eth_rx_adapter_start,
+       RTE_TRACE_POINT_ARGS(uint8_t adptr_id),
+       rte_trace_point_emit_u8(adptr_id);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_eth_rx_adapter_stop,
+       RTE_TRACE_POINT_ARGS(uint8_t adptr_id),
+       rte_trace_point_emit_u8(adptr_id);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_eth_tx_adapter_create,
+       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint8_t dev_id, void *conf_cb,
+               struct rte_event_port_conf *port_conf, int rc),
+       rte_trace_point_emit_u8(adptr_id);
+       rte_trace_point_emit_u8(dev_id);
+       rte_trace_point_emit_i32(port_conf->new_event_threshold);
+       rte_trace_point_emit_u16(port_conf->dequeue_depth);
+       rte_trace_point_emit_u16(port_conf->enqueue_depth);
+       rte_trace_point_emit_u32(port_conf->event_port_cfg);
+       rte_trace_point_emit_ptr(conf_cb);
+       rte_trace_point_emit_int(rc);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_eth_tx_adapter_free,
+       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, int rc),
+       rte_trace_point_emit_u8(adptr_id);
+       rte_trace_point_emit_int(rc);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_eth_tx_adapter_queue_add,
+       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint16_t eth_dev_id,
+               int32_t queue, int rc),
+       rte_trace_point_emit_u8(adptr_id);
+       rte_trace_point_emit_u16(eth_dev_id);
+       rte_trace_point_emit_i32(queue);
+       rte_trace_point_emit_int(rc);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_eth_tx_adapter_queue_del,
+       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint16_t eth_dev_id,
+               int32_t queue, int rc),
+       rte_trace_point_emit_u8(adptr_id);
+       rte_trace_point_emit_u16(eth_dev_id);
+       rte_trace_point_emit_i32(queue);
+       rte_trace_point_emit_int(rc);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_eth_tx_adapter_start,
+       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, int rc),
+       rte_trace_point_emit_u8(adptr_id);
+       rte_trace_point_emit_int(rc);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_eth_tx_adapter_stop,
+       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, int rc),
+       rte_trace_point_emit_u8(adptr_id);
+       rte_trace_point_emit_int(rc);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_timer_adapter_create,
+       RTE_TRACE_POINT_ARGS(uint16_t adapter_id, void *adapter,
+               const struct rte_event_timer_adapter_conf *conf,
+               void *conf_cb),
+       rte_trace_point_emit_u16(adapter_id);
+       rte_trace_point_emit_ptr(adapter);
+       rte_trace_point_emit_ptr(conf);
+       rte_trace_point_emit_u8(conf->event_dev_id);
+       rte_trace_point_emit_u16(conf->timer_adapter_id);
+       rte_trace_point_emit_u64(conf->timer_tick_ns);
+       rte_trace_point_emit_u64(conf->max_tmo_ns);
+       rte_trace_point_emit_u64(conf->nb_timers);
+       rte_trace_point_emit_u64(conf->flags);
+       rte_trace_point_emit_ptr(conf_cb);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_timer_adapter_start,
+       RTE_TRACE_POINT_ARGS(const void *adapter),
+       rte_trace_point_emit_ptr(adapter);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_timer_adapter_stop,
+       RTE_TRACE_POINT_ARGS(const void *adapter),
+       rte_trace_point_emit_ptr(adapter);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_timer_adapter_free,
+       RTE_TRACE_POINT_ARGS(void *adapter),
+       rte_trace_point_emit_ptr(adapter);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_crypto_adapter_create,
+       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint8_t dev_id, void *adapter,
+               struct rte_event_port_conf *port_conf, uint8_t mode),
+       rte_trace_point_emit_u8(adptr_id);
+       rte_trace_point_emit_u8(dev_id);
+       rte_trace_point_emit_ptr(adapter);
+       rte_trace_point_emit_u8(mode);
+       rte_trace_point_emit_i32(port_conf->new_event_threshold);
+       rte_trace_point_emit_u16(port_conf->dequeue_depth);
+       rte_trace_point_emit_u16(port_conf->enqueue_depth);
+       rte_trace_point_emit_u32(port_conf->event_port_cfg);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_crypto_adapter_free,
+       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, void *adapter),
+       rte_trace_point_emit_u8(adptr_id);
+       rte_trace_point_emit_ptr(adapter);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_crypto_adapter_queue_pair_add,
+       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint8_t cdev_id,
+               const void *event, int32_t queue_pair_id),
+       rte_trace_point_emit_u8(adptr_id);
+       rte_trace_point_emit_u8(cdev_id);
+       rte_trace_point_emit_i32(queue_pair_id);
+       rte_trace_point_emit_ptr(event);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_crypto_adapter_queue_pair_del,
+       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint8_t cdev_id,
+               int32_t queue_pair_id, int rc),
+       rte_trace_point_emit_u8(adptr_id);
+       rte_trace_point_emit_u8(cdev_id);
+       rte_trace_point_emit_i32(queue_pair_id);
+       rte_trace_point_emit_int(rc);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_crypto_adapter_start,
+       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, void *adapter),
+       rte_trace_point_emit_u8(adptr_id);
+       rte_trace_point_emit_ptr(adapter);
+)
+
+RTE_TRACE_POINT(
+       rte_eventdev_trace_crypto_adapter_stop,
+       RTE_TRACE_POINT_ARGS(uint8_t adptr_id),
+       rte_trace_point_emit_u8(adptr_id);
+)
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _RTE_EVENTDEV_TRACE_H_ */
index 3867ec8..237d938 100644 (file)
@@ -4,7 +4,7 @@
 
 #include <rte_trace_point_register.h>
 
-#include "rte_eventdev_trace.h"
+#include "eventdev_trace.h"
 
 /* Eventdev trace points */
 RTE_TRACE_POINT_REGISTER(rte_eventdev_trace_configure,
index 22c3289..abe88f7 100644 (file)
@@ -24,7 +24,6 @@ headers = files(
         'rte_event_ring.h',
         'rte_event_timer_adapter.h',
         'rte_eventdev.h',
-        'rte_eventdev_trace.h',
         'rte_eventdev_trace_fp.h',
 )
 indirect_headers += files(
@@ -34,6 +33,7 @@ driver_sdk_headers += files(
         'eventdev_pmd.h',
         'eventdev_pmd_pci.h',
         'eventdev_pmd_vdev.h',
+        'eventdev_trace.h',
         'event_timer_adapter_pmd.h',
 )
 
index e9e660a..ae1151f 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "rte_eventdev.h"
 #include "eventdev_pmd.h"
-#include "rte_eventdev_trace.h"
+#include "eventdev_trace.h"
 #include "rte_event_crypto_adapter.h"
 
 #define BATCH_SIZE 32
index 0d103f2..e570f2f 100644 (file)
@@ -22,7 +22,7 @@
 
 #include "rte_eventdev.h"
 #include "eventdev_pmd.h"
-#include "rte_eventdev_trace.h"
+#include "eventdev_trace.h"
 #include "rte_event_eth_rx_adapter.h"
 
 #define BATCH_SIZE             32
index 1c06c87..da55d2c 100644 (file)
@@ -6,7 +6,7 @@
 #include <ethdev_driver.h>
 
 #include "eventdev_pmd.h"
-#include "rte_eventdev_trace.h"
+#include "eventdev_trace.h"
 #include "rte_event_eth_tx_adapter.h"
 
 #define TXA_BATCH_SIZE         32
index af76b77..0e21b7c 100644 (file)
@@ -24,7 +24,7 @@
 #include "eventdev_pmd.h"
 #include "rte_event_timer_adapter.h"
 #include "rte_eventdev.h"
-#include "rte_eventdev_trace.h"
+#include "eventdev_trace.h"
 
 #define DATA_MZ_NAME_MAX_LEN 64
 #define DATA_MZ_NAME_FORMAT "rte_event_timer_adapter_data_%d"
index 5764652..79b9ea3 100644 (file)
@@ -36,7 +36,7 @@
 
 #include "rte_eventdev.h"
 #include "eventdev_pmd.h"
-#include "rte_eventdev_trace.h"
+#include "eventdev_trace.h"
 
 static struct rte_eventdev rte_event_devices[RTE_EVENT_MAX_DEVS];
 
diff --git a/lib/eventdev/rte_eventdev_trace.h b/lib/eventdev/rte_eventdev_trace.h
deleted file mode 100644 (file)
index 5ec43d8..0000000
+++ /dev/null
@@ -1,308 +0,0 @@
-/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(C) 2020 Marvell International Ltd.
- */
-
-#ifndef _RTE_EVENTDEV_TRACE_H_
-#define _RTE_EVENTDEV_TRACE_H_
-
-/**
- * @file
- *
- * API for ethdev trace support
- */
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <rte_trace_point.h>
-
-#include "rte_eventdev.h"
-#include "rte_event_eth_rx_adapter.h"
-#include "rte_event_timer_adapter.h"
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_configure,
-       RTE_TRACE_POINT_ARGS(uint8_t dev_id,
-               const struct rte_event_dev_config *dev_conf, int rc),
-       rte_trace_point_emit_u8(dev_id);
-       rte_trace_point_emit_u32(dev_conf->dequeue_timeout_ns);
-       rte_trace_point_emit_i32(dev_conf->nb_events_limit);
-       rte_trace_point_emit_u8(dev_conf->nb_event_queues);
-       rte_trace_point_emit_u8(dev_conf->nb_event_ports);
-       rte_trace_point_emit_u32(dev_conf->nb_event_queue_flows);
-       rte_trace_point_emit_u32(dev_conf->nb_event_port_dequeue_depth);
-       rte_trace_point_emit_u32(dev_conf->nb_event_port_enqueue_depth);
-       rte_trace_point_emit_u32(dev_conf->event_dev_cfg);
-       rte_trace_point_emit_u8(dev_conf->nb_single_link_event_port_queues);
-       rte_trace_point_emit_int(rc);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_queue_setup,
-       RTE_TRACE_POINT_ARGS(uint8_t dev_id, uint8_t queue_id,
-               const struct rte_event_queue_conf *queue_conf),
-       rte_trace_point_emit_u8(dev_id);
-       rte_trace_point_emit_u8(queue_id);
-       rte_trace_point_emit_u32(queue_conf->nb_atomic_flows);
-       rte_trace_point_emit_u32(queue_conf->nb_atomic_order_sequences);
-       rte_trace_point_emit_u32(queue_conf->event_queue_cfg);
-       rte_trace_point_emit_u8(queue_conf->schedule_type);
-       rte_trace_point_emit_u8(queue_conf->priority);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_port_setup,
-       RTE_TRACE_POINT_ARGS(uint8_t dev_id, uint8_t port_id,
-               const struct rte_event_port_conf *port_conf, int rc),
-       rte_trace_point_emit_u8(dev_id);
-       rte_trace_point_emit_u8(port_id);
-       rte_trace_point_emit_i32(port_conf->new_event_threshold);
-       rte_trace_point_emit_u16(port_conf->dequeue_depth);
-       rte_trace_point_emit_u16(port_conf->enqueue_depth);
-       rte_trace_point_emit_u32(port_conf->event_port_cfg);
-       rte_trace_point_emit_int(rc);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_port_link,
-       RTE_TRACE_POINT_ARGS(uint8_t dev_id, uint8_t port_id,
-               uint16_t nb_links, int rc),
-       rte_trace_point_emit_u8(dev_id);
-       rte_trace_point_emit_u8(port_id);
-       rte_trace_point_emit_u16(nb_links);
-       rte_trace_point_emit_int(rc);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_port_unlink,
-       RTE_TRACE_POINT_ARGS(uint8_t dev_id, uint8_t port_id,
-               uint16_t nb_unlinks, int rc),
-       rte_trace_point_emit_u8(dev_id);
-       rte_trace_point_emit_u8(port_id);
-       rte_trace_point_emit_u16(nb_unlinks);
-       rte_trace_point_emit_int(rc);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_start,
-       RTE_TRACE_POINT_ARGS(uint8_t dev_id, int rc),
-       rte_trace_point_emit_u8(dev_id);
-       rte_trace_point_emit_int(rc);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_stop,
-       RTE_TRACE_POINT_ARGS(uint8_t dev_id),
-       rte_trace_point_emit_u8(dev_id);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_close,
-       RTE_TRACE_POINT_ARGS(uint8_t dev_id),
-       rte_trace_point_emit_u8(dev_id);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_eth_rx_adapter_create,
-       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint8_t dev_id, void *conf_cb,
-               void *conf_arg),
-       rte_trace_point_emit_u8(adptr_id);
-       rte_trace_point_emit_u8(dev_id);
-       rte_trace_point_emit_ptr(conf_cb);
-       rte_trace_point_emit_ptr(conf_arg);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_eth_rx_adapter_free,
-       RTE_TRACE_POINT_ARGS(uint8_t adptr_id),
-       rte_trace_point_emit_u8(adptr_id);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_eth_rx_adapter_queue_add,
-       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint16_t eth_dev_id,
-               int32_t rx_queue_id,
-               const struct rte_event_eth_rx_adapter_queue_conf *queue_conf,
-               int rc),
-       rte_trace_point_emit_u8(adptr_id);
-       rte_trace_point_emit_u16(eth_dev_id);
-       rte_trace_point_emit_i32(rx_queue_id);
-       rte_trace_point_emit_u32(queue_conf->rx_queue_flags);
-       rte_trace_point_emit_u16(queue_conf->servicing_weight);
-       rte_trace_point_emit_u8(queue_conf->ev.queue_id);
-       rte_trace_point_emit_u8(queue_conf->ev.priority);
-       rte_trace_point_emit_int(rc);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_eth_rx_adapter_queue_del,
-       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint16_t eth_dev_id,
-               int32_t rx_queue_id, int rc),
-       rte_trace_point_emit_u8(adptr_id);
-       rte_trace_point_emit_u16(eth_dev_id);
-       rte_trace_point_emit_i32(rx_queue_id);
-       rte_trace_point_emit_int(rc);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_eth_rx_adapter_start,
-       RTE_TRACE_POINT_ARGS(uint8_t adptr_id),
-       rte_trace_point_emit_u8(adptr_id);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_eth_rx_adapter_stop,
-       RTE_TRACE_POINT_ARGS(uint8_t adptr_id),
-       rte_trace_point_emit_u8(adptr_id);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_eth_tx_adapter_create,
-       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint8_t dev_id, void *conf_cb,
-               struct rte_event_port_conf *port_conf, int rc),
-       rte_trace_point_emit_u8(adptr_id);
-       rte_trace_point_emit_u8(dev_id);
-       rte_trace_point_emit_i32(port_conf->new_event_threshold);
-       rte_trace_point_emit_u16(port_conf->dequeue_depth);
-       rte_trace_point_emit_u16(port_conf->enqueue_depth);
-       rte_trace_point_emit_u32(port_conf->event_port_cfg);
-       rte_trace_point_emit_ptr(conf_cb);
-       rte_trace_point_emit_int(rc);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_eth_tx_adapter_free,
-       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, int rc),
-       rte_trace_point_emit_u8(adptr_id);
-       rte_trace_point_emit_int(rc);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_eth_tx_adapter_queue_add,
-       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint16_t eth_dev_id,
-               int32_t queue, int rc),
-       rte_trace_point_emit_u8(adptr_id);
-       rte_trace_point_emit_u16(eth_dev_id);
-       rte_trace_point_emit_i32(queue);
-       rte_trace_point_emit_int(rc);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_eth_tx_adapter_queue_del,
-       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint16_t eth_dev_id,
-               int32_t queue, int rc),
-       rte_trace_point_emit_u8(adptr_id);
-       rte_trace_point_emit_u16(eth_dev_id);
-       rte_trace_point_emit_i32(queue);
-       rte_trace_point_emit_int(rc);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_eth_tx_adapter_start,
-       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, int rc),
-       rte_trace_point_emit_u8(adptr_id);
-       rte_trace_point_emit_int(rc);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_eth_tx_adapter_stop,
-       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, int rc),
-       rte_trace_point_emit_u8(adptr_id);
-       rte_trace_point_emit_int(rc);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_timer_adapter_create,
-       RTE_TRACE_POINT_ARGS(uint16_t adapter_id, void *adapter,
-               const struct rte_event_timer_adapter_conf *conf,
-               void *conf_cb),
-       rte_trace_point_emit_u16(adapter_id);
-       rte_trace_point_emit_ptr(adapter);
-       rte_trace_point_emit_ptr(conf);
-       rte_trace_point_emit_u8(conf->event_dev_id);
-       rte_trace_point_emit_u16(conf->timer_adapter_id);
-       rte_trace_point_emit_u64(conf->timer_tick_ns);
-       rte_trace_point_emit_u64(conf->max_tmo_ns);
-       rte_trace_point_emit_u64(conf->nb_timers);
-       rte_trace_point_emit_u64(conf->flags);
-       rte_trace_point_emit_ptr(conf_cb);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_timer_adapter_start,
-       RTE_TRACE_POINT_ARGS(const void *adapter),
-       rte_trace_point_emit_ptr(adapter);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_timer_adapter_stop,
-       RTE_TRACE_POINT_ARGS(const void *adapter),
-       rte_trace_point_emit_ptr(adapter);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_timer_adapter_free,
-       RTE_TRACE_POINT_ARGS(void *adapter),
-       rte_trace_point_emit_ptr(adapter);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_crypto_adapter_create,
-       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint8_t dev_id, void *adapter,
-               struct rte_event_port_conf *port_conf, uint8_t mode),
-       rte_trace_point_emit_u8(adptr_id);
-       rte_trace_point_emit_u8(dev_id);
-       rte_trace_point_emit_ptr(adapter);
-       rte_trace_point_emit_u8(mode);
-       rte_trace_point_emit_i32(port_conf->new_event_threshold);
-       rte_trace_point_emit_u16(port_conf->dequeue_depth);
-       rte_trace_point_emit_u16(port_conf->enqueue_depth);
-       rte_trace_point_emit_u32(port_conf->event_port_cfg);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_crypto_adapter_free,
-       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, void *adapter),
-       rte_trace_point_emit_u8(adptr_id);
-       rte_trace_point_emit_ptr(adapter);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_crypto_adapter_queue_pair_add,
-       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint8_t cdev_id,
-               const void *event, int32_t queue_pair_id),
-       rte_trace_point_emit_u8(adptr_id);
-       rte_trace_point_emit_u8(cdev_id);
-       rte_trace_point_emit_i32(queue_pair_id);
-       rte_trace_point_emit_ptr(event);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_crypto_adapter_queue_pair_del,
-       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint8_t cdev_id,
-               int32_t queue_pair_id, int rc),
-       rte_trace_point_emit_u8(adptr_id);
-       rte_trace_point_emit_u8(cdev_id);
-       rte_trace_point_emit_i32(queue_pair_id);
-       rte_trace_point_emit_int(rc);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_crypto_adapter_start,
-       RTE_TRACE_POINT_ARGS(uint8_t adptr_id, void *adapter),
-       rte_trace_point_emit_u8(adptr_id);
-       rte_trace_point_emit_ptr(adapter);
-)
-
-RTE_TRACE_POINT(
-       rte_eventdev_trace_crypto_adapter_stop,
-       RTE_TRACE_POINT_ARGS(uint8_t adptr_id),
-       rte_trace_point_emit_u8(adptr_id);
-)
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _RTE_EVENTDEV_TRACE_H_ */