| 1 |
LTTng Tools is provided under: |
| 2 |
|
| 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 |
| 18 |
|
| 19 |
This applies to: |
| 20 |
|
| 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. |
| 26 |
|
| 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. |