| 1 | /* |
| 2 | * Copyright (C) 2024 Kienan Stewart <kstewart@efficios.com> |
| 3 | * |
| 4 | * SPDX-License-Identifier: LGPL-2.1-only |
| 5 | */ |
| 6 | |
| 7 | #ifdef __cplusplus |
| 8 | extern "C" { |
| 9 | #endif |
| 10 | |
| 11 | #undef TRACEPOINT_PROVIDER |
| 12 | #define TRACEPOINT_PROVIDER tp_a_c |
| 13 | |
| 14 | #if !defined(_TRACEPOINT_TP_A_C_H) || defined(TRACEPOINT_HEADER_MULTI_READ) |
| 15 | #define _TRACEPOINT_TP_A_C_H |
| 16 | |
| 17 | #include <lttng/tracepoint.h> |
| 18 | |
| 19 | TRACEPOINT_EVENT(tp_a_c, constructor_c_provider_static_archive, TP_ARGS(), TP_FIELDS()) |
| 20 | |
| 21 | TRACEPOINT_EVENT(tp_a_c, destructor_c_provider_static_archive, TP_ARGS(), TP_FIELDS()) |
| 22 | |
| 23 | #endif /* _TRACEPOINT_TP_A_H */ |
| 24 | |
| 25 | #undef TRACEPOINT_INCLUDE |
| 26 | #define TRACEPOINT_INCLUDE "./tp-a_c.h" |
| 27 | |
| 28 | /* This part must be outside ifdef protection */ |
| 29 | #include <lttng/tracepoint-event.h> |
| 30 | |
| 31 | #ifdef __cplusplus |
| 32 | } |
| 33 | #endif |