Support new lttng-ust error code
[lttng-tools.git] / src / bin / lttng-sessiond / ust-ctl.h
1 /*
2 * ust-ctl.h
3 *
4 * Meta header used to include all relevant file from the lttng ust ABI.
5 *
6 * Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License, version 2 only,
10 * as published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 */
21
22 #ifndef _LTT_UST_CTL_H
23 #define _LTT_UST_CTL_H
24
25 #include <config.h>
26
27 /*
28 * FIXME: temporary workaround: we use a lttng-tools local version of
29 * lttng-ust-abi.h if UST is not found. Eventually, we should use our
30 * own internal structures within lttng-tools instead of relying on the
31 * UST ABI.
32 */
33 #ifdef HAVE_LIBLTTNG_UST_CTL
34 #include <lttng/ust-ctl.h>
35 #include <lttng/ust-abi.h>
36 #include <lttng/ust-error.h>
37 #else
38 #include "lttng-ust-ctl.h"
39 #include "lttng-ust-abi.h"
40 #include "lttng-ust-error.h"
41 #endif
42
43 #endif /* _LTT_UST_CTL_H */
This page took 0.04192 seconds and 4 git commands to generate.