Commit | Line | Data |
---|---|---|
ab5be9fa | 1 | LTTng Tools is provided under: |
82a3637f | 2 | |
ab5be9fa MJ |
3 | SPDX-License-Identifier: GPL-2.0-only |
4 | ||
5 | Being under the terms of the GNU General Public License version 2 only, | |
6 | according with: | |
7 | ||
8 | LICENSES/GPL-2.0 | |
9 | ||
10 | The library part is provided under: | |
11 | ||
12 | SPDX-License-Identifier: LGPL-2.1-only | |
13 | ||
14 | Being under the terms of the GNU Lesser General Public License version 2.1 | |
15 | only, according with: | |
16 | ||
17 | LICENSES/LGPL-2.1 | |
82a3637f | 18 | |
82a3637f DG |
19 | This applies to: |
20 | ||
ab5be9fa MJ |
21 | include/lttng/* |
22 | src/lib/lttng-ctl/* | |
23 | ||
24 | In addition, other licenses may also apply, see SPDX-License-Identifier in | |
25 | individual files. | |
321d0ee3 | 26 | |
82a3637f DG |
27 | |
28 | LGPL-compatible source code can statically use the library header using: | |
29 | ||
30 | #define _LGPL_SOURCE | |
31 | #include <lttng/lttng.h> | |
32 | ||
33 | Dynamic-only linking with the LGPL library is used if _LGPL_SOURCE is not | |
34 | defined. It permits relinking with newer versions of the library, which is | |
35 | required by the LGPL license. |