numam-dpdk/app/test/test_trace_register.c
David Marchand 0fc601af3a 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>
2020-07-05 21:34:21 +02:00

11 lines
280 B
C

/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(C) 2020 Marvell International Ltd.
*/
#include <rte_trace_point_register.h>
#include "test_trace.h"
RTE_TRACE_POINT_REGISTER(app_dpdk_test_tp, app.dpdk.test.tp)
RTE_TRACE_POINT_REGISTER(app_dpdk_test_fp, app.dpdk.test.fp)