Commit | Line | Data |
---|---|---|
aee9d76b | 1 | LTTng Tools licensing |
82a3637f DG |
2 | David Goulet <david.goulet@polymtl.ca> |
3 | July 18, 2011 | |
4 | ||
5 | * LGPLv2.1 | |
6 | ||
7 | The library part is distributed under LGPLv2.1. See lgpl-2.1.txt for details. | |
8 | This applies to: | |
9 | ||
10 | -) lttng.h | |
11 | -) liblttngctl.c | |
12 | ||
13 | LGPL-compatible source code can statically use the library header using: | |
14 | ||
15 | #define _LGPL_SOURCE | |
16 | #include <lttng/lttng.h> | |
17 | ||
18 | Dynamic-only linking with the LGPL library is used if _LGPL_SOURCE is not | |
19 | defined. It permits relinking with newer versions of the library, which is | |
20 | required by the LGPL license. | |
21 | ||
22 | * GPLv2 | |
23 | ||
24 | All remaining source code is distributed under the GPLv2 license. See | |
25 | gpl-2.0.txt for details. |