| 1 | LTTng Tools licensing |
| 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 | -) include/lttng/* |
| 11 | -) src/lib/lttng-ctl/* |
| 12 | |
| 13 | We have some tests LGPL but should not impact anything even if we change them |
| 14 | in the future to GPL. |
| 15 | |
| 16 | LGPL-compatible source code can statically use the library header using: |
| 17 | |
| 18 | #define _LGPL_SOURCE |
| 19 | #include <lttng/lttng.h> |
| 20 | |
| 21 | Dynamic-only linking with the LGPL library is used if _LGPL_SOURCE is not |
| 22 | defined. It permits relinking with newer versions of the library, which is |
| 23 | required by the LGPL license. |
| 24 | |
| 25 | * GPLv2 |
| 26 | |
| 27 | All remaining source code is distributed under the GPLv2 license. See |
| 28 | gpl-2.0.txt for details. |