X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fnotify-apps.h;fp=src%2Fbin%2Flttng-sessiond%2Fnotify-apps.h;h=19cbe4fcd8420a17a1ed4a8f509b836ab92516a9;hp=0000000000000000000000000000000000000000;hb=f9d2ba6ae32397fd818279ea90d3691c60f0e079;hpb=4a91420cefb94afc4a20042bdbe2564086dad3cb diff --git a/src/bin/lttng-sessiond/notify-apps.h b/src/bin/lttng-sessiond/notify-apps.h new file mode 100644 index 000000000..19cbe4fcd --- /dev/null +++ b/src/bin/lttng-sessiond/notify-apps.h @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2013 - David Goulet + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License, version 2 only, as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along with + * this program; if not, write to the Free Software Foundation, Inc., 51 + * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef UST_THREAD_H +#define UST_THREAD_H + +#ifdef HAVE_LIBLTTNG_UST_CTL + +bool launch_application_notification_thread(int apps_cmd_notify_pipe_read_fd); + +#else /* HAVE_LIBLTTNG_UST_CTL */ + +bool launch_application_notification_thread(int apps_cmd_notify_pipe_read_fd) +{ + return true; +} + +#endif /* HAVE_LIBLTTNG_UST_CTL */ + +#endif /* UST_THREAD_H */