[1/8] cryptodev: fix trace points registration
Checks
Commit Message
Those trace points are defined but not registered.
Fixes: 4cf30e3f3c35 ("cryptodev: add tracepoints")
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
lib/librte_cryptodev/cryptodev_trace_points.c | 6 ++++++
1 file changed, 6 insertions(+)
Comments
>-----Original Message-----
>From: David Marchand <david.marchand@redhat.com>
>Sent: Monday, May 4, 2020 2:01 AM
>To: dev@dpdk.org
>Cc: thomas@monjalon.net; Declan Doherty <declan.doherty@intel.com>;
>Sunil Kumar Kori <skori@marvell.com>
>Subject: [EXT] [PATCH 1/8] cryptodev: fix trace points registration
>
>External Email
>
>----------------------------------------------------------------------
>Those trace points are defined but not registered.
>
>Fixes: 4cf30e3f3c35 ("cryptodev: add tracepoints")
>
>Signed-off-by: David Marchand <david.marchand@redhat.com>
>---
> lib/librte_cryptodev/cryptodev_trace_points.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
>diff --git a/lib/librte_cryptodev/cryptodev_trace_points.c
>b/lib/librte_cryptodev/cryptodev_trace_points.c
>index 9df213e25b..7d03c93882 100644
>--- a/lib/librte_cryptodev/cryptodev_trace_points.c
>+++ b/lib/librte_cryptodev/cryptodev_trace_points.c
>@@ -61,6 +61,12 @@ RTE_INIT(cryptodev_trace_init)
>
> RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_asym_session_init
>,
> lib.cryptodev.asym.init);
>
>+
> RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_sym_session_clear
>,
>+ lib.cryptodev.sym.clear);
>+
>+
> RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_asym_session_cle
>ar,
>+ lib.cryptodev.asym.clear);
>+
> RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_enqueue_burst,
> lib.cryptodev.enq.burst);
>
>--
Acked-by: Sunil Kumar Kori <skori@marvell.com>
>2.23.0
@@ -61,6 +61,12 @@ RTE_INIT(cryptodev_trace_init)
RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_asym_session_init,
lib.cryptodev.asym.init);
+ RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_sym_session_clear,
+ lib.cryptodev.sym.clear);
+
+ RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_asym_session_clear,
+ lib.cryptodev.asym.clear);
+
RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_enqueue_burst,
lib.cryptodev.enq.burst);