2 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 * SPDX-License-Identifier: MIT
8 #undef TRACEPOINT_PROVIDER
9 #define TRACEPOINT_PROVIDER tp_a
11 #if !defined(_TRACEPOINT_TP_A_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
12 #define _TRACEPOINT_TP_A_H
14 #include <lttng/tracepoint.h>
18 TRACEPOINT_EVENT(tp_a
, constructor_c_provider_static_archive
, TP_ARGS(), TP_FIELDS())
20 TRACEPOINT_EVENT(tp_a
, destructor_c_provider_static_archive
, TP_ARGS(), TP_FIELDS())
22 TRACEPOINT_EVENT(tp_a
,
23 constructor_cplusplus_provider_static_archive
,
24 TP_ARGS(const char *, msg
),
25 TP_FIELDS(ctf_string(msg
, msg
)))
27 TRACEPOINT_EVENT(tp_a
,
28 destructor_cplusplus_provider_static_archive
,
29 TP_ARGS(const char *, msg
),
30 TP_FIELDS(ctf_string(msg
, msg
)))
32 #endif /* _TRACEPOINT_TP_A_H */
34 #undef TRACEPOINT_INCLUDE
35 #define TRACEPOINT_INCLUDE "./tp-a.h"
37 /* This part must be outside ifdef protection */
38 #include <lttng/tracepoint-event.h>