2 * Copyright (C) 2024 Kienan Stewart <kstewart@efficios.com>
4 * SPDX-LIcense-Identifier: LGPL-2.1-only
10 /* Use tracepoints defined and provided by shared libraries. */
11 void test_constructor_so(void) __attribute__((constructor
));
12 void test_constructor_so(void)
14 tracepoint(tp_so_c
, constructor_c_provider_shared_library
);
17 void test_destructor_so(void) __attribute__((destructor
));
18 void test_destructor_so(void)
20 tracepoint(tp_so_c
, destructor_c_provider_shared_library
);