Expose a common alloc_tls for liblttng-ust-common
[lttng-ust.git] / include / lttng / ust-common.h
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
This page took 0.029298 seconds and 4 git commands to generate.