1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2020 Marvell International Ltd.
5 #ifndef _RTE_TRACE_POINT_H_
6 #error do not include this file directly, use <rte_trace_point.h> instead
9 #ifndef _RTE_TRACE_POINT_REGISTER_H_
10 #define _RTE_TRACE_POINT_REGISTER_H_
12 #include <rte_per_lcore.h>
14 RTE_DECLARE_PER_LCORE(volatile int, trace_point_sz);
16 #define RTE_TRACE_POINT_REGISTER(trace, name) \
17 __rte_trace_point_register(&__##trace, RTE_STR(name), \
18 (void (*)(void)) trace)
20 #endif /* _RTE_TRACE_POINT_REGISTER_H_ */