fix: relayd: unaligned access in trace_chunk_registry_ht_key_hash
[lttng-tools.git] / tests / utils / testapp / gen-ust-events-constructor / tp-so.h
1 /*
2 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 */
7
8 #undef TRACEPOINT_PROVIDER
9 #define TRACEPOINT_PROVIDER tp_so
10
11 #if !defined(_TRACEPOINT_TP_SO_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
12 #define _TRACEPOINT_TP_SO_H
13
14 #include <lttng/tracepoint.h>
15
16 #include <stdint.h>
17
18 TRACEPOINT_EVENT(tp_so,
19 constructor_cplusplus_provider_shared_library,
20 TP_ARGS(const char *, msg),
21 TP_FIELDS(ctf_string(msg, msg)))
22
23 TRACEPOINT_EVENT(tp_so,
24 destructor_cplusplus_provider_shared_library,
25 TP_ARGS(const char *, msg),
26 TP_FIELDS(ctf_string(msg, msg)))
27
28 #endif /* _TRACEPOINT_TP_SO_H */
29
30 #undef TRACEPOINT_INCLUDE
31 #define TRACEPOINT_INCLUDE "./tp-so.h"
32
33 /* This part must be outside ifdef protection */
34 #include <lttng/tracepoint-event.h>
This page took 0.029372 seconds and 4 git commands to generate.