2 * Copyright (C) 2013 David Goulet <dgoulet@efficios.com>
4 * SPDX-License-Identifier: GPL-2.0-only
10 #ifndef LTTNG_SESSIOND_AGENT_THREAD_H
11 #define LTTNG_SESSIOND_AGENT_THREAD_H
13 #ifdef HAVE_LIBLTTNG_UST_CTL
15 bool launch_agent_management_thread();
16 bool agent_tracing_is_enabled();
18 #else /* HAVE_LIBLTTNG_UST_CTL */
20 static inline bool launch_agent_management_thread(void)
25 static inline bool agent_tracing_is_enabled(void)
30 #endif /* HAVE_LIBLTTNG_UST_CTL */
32 #endif /* LTTNG_SESSIOND_AGENT_THREAD_H */