Fix: sessiond: null pointer dereference on initial evaluation of session
[lttng-tools.git] / src / bin / lttng-sessiond / notify-apps.hpp
1 /*
2 * Copyright (C) 2013 David Goulet <dgoulet@efficios.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 */
7
8 #ifndef UST_THREAD_H
9 #define UST_THREAD_H
10
11 #ifdef HAVE_LIBLTTNG_UST_CTL
12
13 bool launch_application_notification_thread(int apps_cmd_notify_pipe_read_fd);
14
15 #else /* HAVE_LIBLTTNG_UST_CTL */
16
17 static
18 bool launch_application_notification_thread(
19 int apps_cmd_notify_pipe_read_fd __attribute__((unused)))
20 {
21 return true;
22 }
23
24 #endif /* HAVE_LIBLTTNG_UST_CTL */
25
26 #endif /* UST_THREAD_H */
This page took 0.031076 seconds and 4 git commands to generate.