Clean-up: consumer.hpp: coding style indentation fix
[lttng-tools.git] / tests / utils / testapp / gen-ust-events-constructor / main_c-a.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-a_c.h"
8 #include "tp.h"
9
10 /* Use tracepoints defined and provided by static archive. */
11 void test_constructor_a(void) __attribute__((constructor));
12 void test_constructor_a(void)
13 {
14 tracepoint(tp_a_c, constructor_c_provider_static_archive);
15 }
16
17 void test_destructor_a(void) __attribute__((destructor));
18 void test_destructor_a(void)
19 {
20 tracepoint(tp_a_c, destructor_c_provider_static_archive);
21 }
22
23 int main(void)
24 {
25 tracepoint(tp, main);
26 return 0;
27 }
This page took 0.028924 seconds and 4 git commands to generate.