26/05/2023 10:42, Chengwen Feng: > Add tracepoints at important APIs for tracing support. > > Signed-off-by: Chengwen Feng <fengcheng...@huawei.com> > Acked-by: Morten Brørup <m...@smartsharesystems.com> > > --- > v4: Fix asan smoke fail. > v3: Address Morten's comment: > Move stats_get and vchan_status and to trace_fp.h. > v2: Address Morten's comment: > Make stats_get as fast-path trace-points. > Place fast-path trace-point functions behind in version.map.
There are more things to fix. First you must export rte_dmadev_trace_fp.h as it is included by rte_dmadev.h. Note: you could have caught this if testing the example app for DMA. Second, you must avoid structs and enum in this header file, otherwise it cannot be included alone. Look at what is done in other *_trace_fp.h files.