2 * Copyright (C) 2024 Kienan Stewart <kstewart@efficios.com>
4 * SPDX-License-Identifier: LGPL-2.1-only
11 #undef TRACEPOINT_PROVIDER
12 #define TRACEPOINT_PROVIDER tp_so_c
14 #if !defined(_TRACEPOINT_TP_SO_C_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
15 #define _TRACEPOINT_TP_SO_C_H
17 #include <lttng/tracepoint.h>
19 TRACEPOINT_EVENT(tp_so_c
, constructor_c_provider_shared_library
, TP_ARGS(), TP_FIELDS())
21 TRACEPOINT_EVENT(tp_so_c
, destructor_c_provider_shared_library
, TP_ARGS(), TP_FIELDS())
23 #endif /* _TRACEPOINT_TP_SO_C_H */
25 #undef TRACEPOINT_INCLUDE
26 #define TRACEPOINT_INCLUDE "./tp-so_c.h"
28 /* This part must be outside ifdef protection */
29 #include <lttng/tracepoint-event.h>