Commit | Line | Data |
---|---|---|
baa0e4a9 | 1 | /* |
48842b30 DG |
2 | * ust-ctl.h |
3 | * | |
4 | * Meta header used to include all relevant file from the lttng ust ABI. | |
5 | * | |
baa0e4a9 DG |
6 | * Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca> |
7 | * | |
48842b30 DG |
8 | * This program is free software; you can redistribute it and/or modify it |
9 | * under the terms of the GNU General Public License as published by the Free | |
10 | * Software Foundation; only version 2 of the License. | |
baa0e4a9 | 11 | * |
48842b30 DG |
12 | * This program is distributed in the hope that it will be useful, but WITHOUT |
13 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
15 | * more details. | |
baa0e4a9 | 16 | * |
48842b30 DG |
17 | * You should have received a copy of the GNU General Public License along with |
18 | * this program; if not, write to the Free Software Foundation, Inc., 59 Temple | |
19 | * Place - Suite 330, Boston, MA 02111-1307, USA. | |
baa0e4a9 DG |
20 | */ |
21 | ||
22 | #ifndef _LTT_UST_CTL_H | |
23 | #define _LTT_UST_CTL_H | |
24 | ||
2bdd86d4 | 25 | #include <config.h> |
0177d773 | 26 | |
48842b30 DG |
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 | */ | |
74d0b642 | 33 | #ifdef HAVE_LIBLTTNG_UST_CTL |
9df8df5e DG |
34 | #include <lttng/ust-ctl.h> |
35 | #include <lttng/ust-abi.h> | |
3bd1e081 | 36 | #else |
48842b30 DG |
37 | #include "lttng-ust-ctl.h" |
38 | #include "lttng-ust-abi.h" | |
3bd1e081 MD |
39 | #endif |
40 | ||
62499ad6 | 41 | #endif /* _LTT_UST_CTL_H */ |