Skip to content

Commit

Permalink
Change licensing
Browse files Browse the repository at this point in the history
Public API lttng.h and liblttngctl.c is licensed LGPLv2.1.

The rest of the code is licensing GPLv2 and NOT later.

Signed-off-by: David Goulet <[email protected]>
  • Loading branch information
David Goulet committed Jul 18, 2011
1 parent 38057ed commit 82a3637
Show file tree
Hide file tree
Showing 49 changed files with 989 additions and 114 deletions.
25 changes: 25 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
LTTng Toots licensing
David Goulet <[email protected]>
July 18, 2011

* LGPLv2.1

The library part is distributed under LGPLv2.1. See lgpl-2.1.txt for details.
This applies to:

-) lttng.h
-) liblttngctl.c

LGPL-compatible source code can statically use the library header using:

#define _LGPL_SOURCE
#include <lttng/lttng.h>

Dynamic-only linking with the LGPL library is used if _LGPL_SOURCE is not
defined. It permits relinking with newer versions of the library, which is
required by the LGPL license.

* GPLv2

All remaining source code is distributed under the GPLv2 license. See
gpl-2.0.txt for details.
339 changes: 339 additions & 0 deletions gpl-2.0.txt

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions include/lttng-kconsumerd.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* as published by the Free Software Foundation; only verion 2
* of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
Expand Down
4 changes: 2 additions & 2 deletions include/lttng-kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* as published by the Free Software Foundation; only version 2
* of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
Expand Down
4 changes: 2 additions & 2 deletions include/lttng-share.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* as published by the Free Software Foundation; only version 2
* of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
Expand Down
29 changes: 17 additions & 12 deletions include/lttng/lttng.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,24 @@
*
* Copyright (C) 2011 - David Goulet <[email protected]>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* LGPL-compatible code should include this header with :
*
* #define _LGPL_SOURCE
* #include <lttng.h>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; only
* version 2.1 of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef _LTTNG_H
Expand Down
4 changes: 2 additions & 2 deletions include/lttngerr.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* as published by the Free Software Foundation; only version 2
* of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
Expand Down

0 comments on commit 82a3637

Please sign in to comment.