cryptodev: fix trace points registration
authorDavid Marchand <david.marchand@redhat.com>
Wed, 29 Apr 2020 12:36:23 +0000 (14:36 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 6 May 2020 11:50:32 +0000 (13:50 +0200)
Those trace points are defined but not registered.

Fixes: 4cf30e3f3c35 ("cryptodev: add tracepoints")

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Sunil Kumar Kori <skori@marvell.com>
lib/librte_cryptodev/cryptodev_trace_points.c

index 9df213e..7d03c93 100644 (file)
@@ -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);