trace: simplify trace point registration
authorDavid Marchand <david.marchand@redhat.com>
Sat, 4 Jul 2020 15:14:08 +0000 (17:14 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 5 Jul 2020 19:34:21 +0000 (21:34 +0200)
commit0fc601af3a722ca3ed8bc7cba4c01e377513cdb3
tree12910272fb6a0aff1ceab49ade2e06b480bde070
parent06c7871dde01ab798319da6fc37d262b37836e4e
trace: simplify trace point registration

RTE_TRACE_POINT_DEFINE and RTE_TRACE_POINT_REGISTER must come in pairs.
Merge them and let RTE_TRACE_POINT_REGISTER handle the constructor part.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
app/test/test_trace_register.c
doc/guides/prog_guide/trace_lib.rst
lib/librte_cryptodev/cryptodev_trace_points.c
lib/librte_eal/common/eal_common_trace_points.c
lib/librte_eal/include/rte_eal_trace.h
lib/librte_eal/include/rte_trace_point.h
lib/librte_eal/include/rte_trace_point_register.h
lib/librte_ethdev/ethdev_trace_points.c
lib/librte_eventdev/eventdev_trace_points.c
lib/librte_mempool/mempool_trace_points.c