X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbin%2Flttng-sessiond%2Fust-ctl.h;fp=src%2Fbin%2Flttng-sessiond%2Fust-ctl.h;h=0000000000000000000000000000000000000000;hb=75018ab6aaa9b49e6248b002d9795319a0e5bb9a;hp=131ff63b67e87305ce1c5466e592844e336fe6a7;hpb=4605890e0a926f1c88355051dcd6d8a8dd135c58;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-ctl.h b/src/bin/lttng-sessiond/ust-ctl.h deleted file mode 100644 index 131ff63b6..000000000 --- a/src/bin/lttng-sessiond/ust-ctl.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * ust-ctl.h - * - * Meta header used to include all relevant file from the lttng ust ABI. - * - * 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 LTTNG_UST_CTL_H -#define LTTNG_UST_CTL_H - -struct ust_app; - -/* - * FIXME: temporary workaround: we use a lttng-tools local version of - * lttng-ust-abi.h if UST is not found. Eventually, we should use our - * own internal structures within lttng-tools instead of relying on the - * UST ABI. - */ -#ifdef HAVE_LIBLTTNG_UST_CTL - -#include -#include -#include - -int ust_app_release_object(struct ust_app *app, struct lttng_ust_object_data *data); - -#else /* HAVE_LIBLTTNG_UST_CTL */ - -#include "lttng-ust-ctl.h" -#include "lttng-ust-abi.h" -#include "lttng-ust-error.h" - -static inline -int ust_app_release_object(struct ust_app *app, struct lttng_ust_object_data *data) -{ - return 0; -} - -#endif /* HAVE_LIBLTTNG_UST_CTL */ - -#endif /* _LTT_UST_CTL_H */