Skip to contentSkip to conversation

kernelshark: Change the license of trace-filter-hash.[ch] for LPGL

PATCH New Steven Rostedt 1 participant 1 message Jun 21, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 kernelshark: Change the license of trace-filter-hash.[ch] for LPGL

From: "Steven Rostedt (VMware)" <[email protected]>

trace-filter-hash.h was only licensed as GPL because it include trace-hash-local.h, which included an algorithm that was licensed as GPL. Now that trace-filter-hash.h has removed that code, it can go to the originally intended LGPL license.

By doing this, we can then move the trace-filter-hash.o into libtracecmd which is LGPL.

---
 kernel-shark/include/trace-filter-hash.h | 15 ++++++++-------
 kernel-shark/trace-filter-hash.c         | 15 ++++++++-------
 2 files changed, 16 insertions(+), 14 deletions(-)
kernel-shark/include/trace-filter-hash.h +8 -7
index 98c9ab33647a..e5b940750a00 100644
@@ -1,19 +1,20 @@
 /*
  * Copyright (C) 2009, 2010 Red Hat Inc, Steven Rostedt <[email protected]>
+ * Copyright (C) 2018 VMware Inc, Steven Rostedt <[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; version 2 of the License (not later!)
+ * This program 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;
+ * version 2.1 of the License (not later!)
  *
  * This program 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.
+ * GNU Lesser General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not,  see <http://www.gnu.org/licenses>
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program; if not,  see <http://www.gnu.org/licenses>
  *
  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  */
kernel-shark/trace-filter-hash.c +8 -7
index 703109c50f6d..57029ae91c7b 100644
@@ -1,19 +1,20 @@
 /*
  * Copyright (C) 2009, Steven Rostedt <[email protected]>
+ * Copyright (C) 2018 VMware Inc, Steven Rostedt <[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; version 2 of the License (not later!)
+ * This program 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;
+ * version 2.1 of the License (not later!)
  *
  * This program 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.
+ * GNU Lesser General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not,  see <http://www.gnu.org/licenses>
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program; if not,  see <http://www.gnu.org/licenses>
  *
  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  */
Signature · 1 line
2.17.1