fix: relayd: unaligned access in trace_chunk_registry_ht_key_hash
[lttng-tools.git] / tests / utils / testapp / gen-ust-events-constructor / main_c-so.c
1 /*
2 * Copyright (C) 2024 Kienan Stewart <kstewart@efficios.com>
3 *
4 * SPDX-LIcense-Identifier: LGPL-2.1-only
5 */
6
7 #include "tp-so_c.h"
8 #include "tp.h"
9
10 /* Use tracepoints defined and provided by shared libraries. */
11 void test_constructor_so(void) __attribute__((constructor));
12 void test_constructor_so(void)
13 {
14 tracepoint(tp_so_c, constructor_c_provider_shared_library);
15 }
16
17 void test_destructor_so(void) __attribute__((destructor));
18 void test_destructor_so(void)
19 {
20 tracepoint(tp_so_c, destructor_c_provider_shared_library);
21 }
22
23 int main(void)
24 {
25 tracepoint(tp, main);
26 return 0;
27 }
This page took 0.028796 seconds and 4 git commands to generate.