| 1 | /* |
| 2 | * SPDX-License-Identifier: MIT |
| 3 | * |
| 4 | * Copyright (C) 2021 Michael Jeanson <mjeanson@efficios.com> |
| 5 | * |
| 6 | * Public symbols of liblttng-ust-common.so |
| 7 | */ |
| 8 | |
| 9 | #ifndef _LTTNG_UST_COMMON_H |
| 10 | #define _LTTNG_UST_COMMON_H |
| 11 | |
| 12 | /* |
| 13 | * The liblttng-ust-common constructor is public so it can be called in the |
| 14 | * constructors of client libraries since there is no reliable way to guarantee |
| 15 | * the execution order of constructors across shared library. |
| 16 | */ |
| 17 | void lttng_ust_common_ctor(void) |
| 18 | __attribute__((constructor)); |
| 19 | |
| 20 | void lttng_ust_common_alloc_tls(void); |
| 21 | |
| 22 | #endif |