tests: Add C versions of gen-ust-events-constructor
[lttng-tools.git] / tests / utils / testapp / gen-ust-events-constructor / 03-c-tp-after-define.c
CommitLineData
21b65d7f
KS
1/*
2 * Copyright (C) 2024 Kienan Stewart <kstewart@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 */
6
7#include "tp.h"
8
9void test_constructor3(void) __attribute__((constructor));
10void test_constructor3(void)
11{
12 tracepoint(tp, constructor_c_across_units_after_define);
13}
14
15void test_destructor3(void) __attribute__((destructor));
16void test_destructor3(void)
17{
18 tracepoint(tp, destructor_c_across_units_after_define);
19}
This page took 0.022819 seconds and 4 git commands to generate.