[PATCH] dmadev: add tracepoints
Bruce Richardson
bruce.richardson at intel.com
Wed Apr 12 11:52:49 CEST 2023
On Wed, Apr 12, 2023 at 02:48:08AM +0000, Chengwen Feng wrote:
> Add tracepoints at important APIs for tracing support.
>
> Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
> ---
> lib/dmadev/meson.build | 2 +-
> lib/dmadev/rte_dmadev.c | 39 ++++++--
> lib/dmadev/rte_dmadev.h | 56 ++++++++---
> lib/dmadev/rte_dmadev_trace.h | 133 +++++++++++++++++++++++++++
> lib/dmadev/rte_dmadev_trace_fp.h | 113 +++++++++++++++++++++++
> lib/dmadev/rte_dmadev_trace_points.c | 59 ++++++++++++
> lib/dmadev/version.map | 10 ++
> 7 files changed, 391 insertions(+), 21 deletions(-)
> create mode 100644 lib/dmadev/rte_dmadev_trace.h
> create mode 100644 lib/dmadev/rte_dmadev_trace_fp.h
> create mode 100644 lib/dmadev/rte_dmadev_trace_points.c
>
For completeness, do you have any numbers for the performance impact (if
any) to the DMA dataplane APIs with this tracing added?
/Bruce
More information about the dev
mailing list