common/octeontx2: upgrade mbox definition to version 7
[dpdk.git] / lib / librte_cryptodev / cryptodev_trace_points.c
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(C) 2020 Marvell International Ltd.
3  */
4
5 #include <rte_trace_point_register.h>
6
7 #include "rte_cryptodev_trace.h"
8
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);
25
26 RTE_INIT(cryptodev_trace_init)
27 {
28         RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_configure,
29                 lib.cryptodev.configure);
30
31         RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_start,
32                 lib.cryptodev.start);
33
34         RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_stop,
35                 lib.cryptodev.stop);
36
37         RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_close,
38                 lib.cryptodev.close);
39
40         RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_queue_pair_setup,
41                 lib.cryptodev.queue.pair.setup);
42
43         RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_sym_session_pool_create,
44                 lib.cryptodev.sym.pool.create);
45
46         RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_sym_session_create,
47                 lib.cryptodev.sym.create);
48
49         RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_asym_session_create,
50                 lib.cryptodev.asym.create);
51
52         RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_sym_session_free,
53                 lib.cryptodev.sym.free);
54
55         RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_asym_session_free,
56                 lib.cryptodev.asym.free);
57
58         RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_sym_session_init,
59                 lib.cryptodev.sym.init);
60
61         RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_asym_session_init,
62                 lib.cryptodev.asym.init);
63
64         RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_sym_session_clear,
65                 lib.cryptodev.sym.clear);
66
67         RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_asym_session_clear,
68                 lib.cryptodev.asym.clear);
69
70         RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_enqueue_burst,
71                 lib.cryptodev.enq.burst);
72
73         RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_dequeue_burst,
74                 lib.cryptodev.deq.burst);
75 }