2 * SPDX-License-Identifier: LGPL-2.1-only
4 * Copyright (C) 2015 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
7 #ifndef _UST_COMMON_GETENV_H
8 #define _UST_COMMON_GETENV_H
11 * Always add the lttng-ust environment variables using the lttng_ust_getenv()
12 * infrastructure rather than using getenv() directly. This ensures that we
13 * don't trigger races between getenv() invoked by lttng-ust listener threads
14 * invoked concurrently with setenv() called by an otherwise single-threaded
15 * application thread. (the application is not aware that it runs with
19 char *lttng_ust_getenv(const char *name
)
20 __attribute__((visibility("hidden")));
24 * Initialize the internal filtered list of environment variables.
26 void lttng_ust_getenv_init(void)
27 __attribute__((visibility("hidden")));
29 #endif /* _UST_COMMON_GETENV_H */
This page took 0.029711 seconds and 4 git commands to generate.