| 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 bool launch_application_notification_thread(int apps_cmd_notify_pipe_read_fd |
| 18 | __attribute__((unused))) |
| 19 | { |
| 20 | return true; |
| 21 | } |
| 22 | |
| 23 | #endif /* HAVE_LIBLTTNG_UST_CTL */ |
| 24 | |
| 25 | #endif /* UST_THREAD_H */ |