eventdev: make trace API internal

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>
This commit is contained in:
Pavan Nikhilesh 2021-10-19 05:06:08 +05:30 committed by Jerin Jacob
parent 68e9668a09
commit f26f2ca657
8 changed files with 7 additions and 7 deletions

View 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,

View 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',
)

View 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

View 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

View 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

View 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"

View 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];