1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2020 Marvell International Ltd.
5 #include <rte_trace_point_register.h>
7 #include "rte_cryptodev_trace.h"
9 RTE_TRACE_POINT_DEFINE(rte_cryptodev_trace_configure);
10 RTE_TRACE_POINT_DEFINE(rte_cryptodev_trace_start);
11 RTE_TRACE_POINT_DEFINE(rte_cryptodev_trace_stop);
12 RTE_TRACE_POINT_DEFINE(rte_cryptodev_trace_close);
13 RTE_TRACE_POINT_DEFINE(rte_cryptodev_trace_queue_pair_setup);
14 RTE_TRACE_POINT_DEFINE(rte_cryptodev_trace_sym_session_pool_create);
15 RTE_TRACE_POINT_DEFINE(rte_cryptodev_trace_sym_session_create);
16 RTE_TRACE_POINT_DEFINE(rte_cryptodev_trace_asym_session_create);
17 RTE_TRACE_POINT_DEFINE(rte_cryptodev_trace_sym_session_free);
18 RTE_TRACE_POINT_DEFINE(rte_cryptodev_trace_asym_session_free);
19 RTE_TRACE_POINT_DEFINE(rte_cryptodev_trace_sym_session_init);
20 RTE_TRACE_POINT_DEFINE(rte_cryptodev_trace_asym_session_init);
21 RTE_TRACE_POINT_DEFINE(rte_cryptodev_trace_sym_session_clear);
22 RTE_TRACE_POINT_DEFINE(rte_cryptodev_trace_asym_session_clear);
23 RTE_TRACE_POINT_DEFINE(rte_cryptodev_trace_enqueue_burst);
24 RTE_TRACE_POINT_DEFINE(rte_cryptodev_trace_dequeue_burst);
26 RTE_INIT(cryptodev_trace_init)
28 RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_configure,
29 lib.cryptodev.configure);
31 RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_start,
34 RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_stop,
37 RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_close,
40 RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_queue_pair_setup,
41 lib.cryptodev.queue.pair.setup);
43 RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_sym_session_pool_create,
44 lib.cryptodev.sym.pool.create);
46 RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_sym_session_create,
47 lib.cryptodev.sym.create);
49 RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_asym_session_create,
50 lib.cryptodev.asym.create);
52 RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_sym_session_free,
53 lib.cryptodev.sym.free);
55 RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_asym_session_free,
56 lib.cryptodev.asym.free);
58 RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_sym_session_init,
59 lib.cryptodev.sym.init);
61 RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_asym_session_init,
62 lib.cryptodev.asym.init);
64 RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_sym_session_clear,
65 lib.cryptodev.sym.clear);
67 RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_asym_session_clear,
68 lib.cryptodev.asym.clear);
70 RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_enqueue_burst,
71 lib.cryptodev.enq.burst);
73 RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_dequeue_burst,
74 lib.cryptodev.deq.burst);