Skip to contentSkip to conversation

perf: Convert to SPDX license identifiers

PATCH In review Thomas Gleixner 3 participants 8 messages Jan 16, 2019 – Feb 4, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover perf: Convert to SPDX license identifiers

The following series converts the files in kernel/events to SPDX license identifiers.

Thanks,

tglx

---
 callchain.c     |    3 +--
 core.c          |    3 +--
 hw_breakpoint.c |   15 +--------------
 ring_buffer.c   |    3 +--
 uprobes.c       |   15 +--------------
 5 files changed, 5 insertions(+), 34 deletions(-)
#1 lore raw

PATCH 1/3 perf/core: Convert to SPDX license identifiers

Use proper SPDX license identifiers instead of the bogus reference to kernel-base/COPYING.

Cc Ingo Molnar <[email protected]>
Cc Peter Zijlstra <[email protected]>
---
 kernel/events/callchain.c   |    3 +--
 kernel/events/core.c        |    3 +--
 kernel/events/ring_buffer.c |    3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)
kernel/events/callchain.c +1 -2
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Performance events callchain code, extracted from core.c:
  *
@@ -5,8 +6,6 @@
  *  Copyright (C) 2008-2011 Red Hat, Inc., Ingo Molnar
  *  Copyright (C) 2008-2011 Red Hat, Inc., Peter Zijlstra
  *  Copyright  ©  2009 Paul Mackerras, IBM Corp. <[email protected]>
- *
- * For licensing details see kernel-base/COPYING
  */
 
 #include <linux/perf_event.h>
kernel/events/core.c +1 -2
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Performance events core code:
  *
@@ -5,8 +6,6 @@
  *  Copyright (C) 2008-2011 Red Hat, Inc., Ingo Molnar
  *  Copyright (C) 2008-2011 Red Hat, Inc., Peter Zijlstra
  *  Copyright  ©  2009 Paul Mackerras, IBM Corp. <[email protected]>
- *
- * For licensing details see kernel-base/COPYING
  */
 
 #include <linux/fs.h>
kernel/events/ring_buffer.c +1 -2
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Performance events ring-buffer code:
  *
@@ -5,8 +6,6 @@
  *  Copyright (C) 2008-2011 Red Hat, Inc., Ingo Molnar
  *  Copyright (C) 2008-2011 Red Hat, Inc., Peter Zijlstra
  *  Copyright  ©  2009 Paul Mackerras, IBM Corp. <[email protected]>
- *
- * For licensing details see kernel-base/COPYING
  */
 
 #include <linux/perf_event.h>
#2 lore raw

[tip:perf/core] perf/core: Convert to SPDX license identifiers

perf/core: Convert to SPDX license identifiers
Commit-ID:  8e86e01526764e8cdc77b80a8f24f33e6847b9e7
Gitweb:     https://git.kernel.org/tip/8e86e01526764e8cdc77b80a8f24f33e6847b9e7
Author:     Thomas Gleixner <[email protected]>
AuthorDate: Wed, 16 Jan 2019 12:10:59 +0100
Committer:  Ingo Molnar <[email protected]>
CommitDate: Mon, 4 Feb 2019 08:46:11 +0100

perf/core: Convert to SPDX license identifiers

Use proper SPDX license identifiers instead of the bogus reference to kernel-base/COPYING.

Cc Alexander Shishkin <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Kate Stewart <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
---
 kernel/events/callchain.c   | 3 +--
 kernel/events/core.c        | 3 +--
 kernel/events/ring_buffer.c | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)
kernel/events/callchain.c +1 -2
index 24a77c34e9ad..c2b41a263166 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Performance events callchain code, extracted from core.c:
  *
@@ -5,8 +6,6 @@
  *  Copyright (C) 2008-2011 Red Hat, Inc., Ingo Molnar
  *  Copyright (C) 2008-2011 Red Hat, Inc., Peter Zijlstra
  *  Copyright  ©  2009 Paul Mackerras, IBM Corp. <[email protected]>
- *
- * For licensing details see kernel-base/COPYING
  */
 
 #include <linux/perf_event.h>
kernel/events/core.c +1 -2
index 280a72b3a553..5b89de7918d0 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Performance events core code:
  *
@@ -5,8 +6,6 @@
  *  Copyright (C) 2008-2011 Red Hat, Inc., Ingo Molnar
  *  Copyright (C) 2008-2011 Red Hat, Inc., Peter Zijlstra
  *  Copyright  ©  2009 Paul Mackerras, IBM Corp. <[email protected]>
- *
- * For licensing details see kernel-base/COPYING
  */
 
 #include <linux/fs.h>
kernel/events/ring_buffer.c +1 -2
index 309ef5a64af5..ed6409300ef5 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Performance events ring-buffer code:
  *
@@ -5,8 +6,6 @@
  *  Copyright (C) 2008-2011 Red Hat, Inc., Ingo Molnar
  *  Copyright (C) 2008-2011 Red Hat, Inc., Peter Zijlstra
  *  Copyright  ©  2009 Paul Mackerras, IBM Corp. <[email protected]>
- *
- * For licensing details see kernel-base/COPYING
  */
 
 #include <linux/perf_event.h>
#3 lore raw

PATCH 2/3 perf/hw_breakpoints: Convert to SPDX license identifier

In reply to Thomas Gleixner

Replace the license boiler plate with a SPDX license identifier.

Cc Alan Stern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Paul McKenney <[email protected]>
---
 kernel/events/hw_breakpoint.c |   15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
kernel/events/hw_breakpoint.c +1 -14
@@ -1,18 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
- * 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,
- * 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.
- *
  * Copyright (C) 2007 Alan Stern
  * Copyright (C) IBM Corporation, 2009
  * Copyright (C) 2009, Frederic Weisbecker <[email protected]>
Acked-by on v1 2/3
#4 lore raw

Re: [patch 2/3] perf/hw_breakpoints: Convert to SPDX license identifier

Quoted 6 lines · Thomas Gleixner

Replace the license boiler plate with a SPDX license identifier.

Cc Alan Stern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Paul McKenney <[email protected]>

For both of the ones I am CCed on:

Quoted 28 lines
---
 kernel/events/hw_breakpoint.c |   15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
kernel/events/hw_breakpoint.c +1 -14
@@ -1,18 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
- * 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,
- * 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.
- *
  * Copyright (C) 2007 Alan Stern
  * Copyright (C) IBM Corporation, 2009
  * Copyright (C) 2009, Frederic Weisbecker <[email protected]>
#5 lore raw

[tip:perf/core] perf/hw_breakpoints: Convert to SPDX license identifier

In reply to Thomas Gleixner
perf/hw_breakpoints: Convert to SPDX license identifier
Commit-ID:  469eb32eaf361971dfc8ad165af14ae3f2217487
Gitweb:     https://git.kernel.org/tip/469eb32eaf361971dfc8ad165af14ae3f2217487
Author:     Thomas Gleixner <[email protected]>
AuthorDate: Wed, 16 Jan 2019 12:11:00 +0100
Committer:  Ingo Molnar <[email protected]>
CommitDate: Mon, 4 Feb 2019 08:46:13 +0100

perf/hw_breakpoints: Convert to SPDX license identifier

Replace the license boiler plate with a SPDX license identifier.

Cc Alan Stern <[email protected]>
Cc Alexander Shishkin <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Kate Stewart <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
---
 kernel/events/hw_breakpoint.c | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
kernel/events/hw_breakpoint.c +1 -14
index 5befb338a18d..c5cd852fe86b 100644
@@ -1,18 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
- * 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,
- * 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.
- *
  * Copyright (C) 2007 Alan Stern
  * Copyright (C) IBM Corporation, 2009
  * Copyright (C) 2009, Frederic Weisbecker <[email protected]>
#6 lore raw

PATCH 3/3 perf/uprobes: Convert to SPDX license identifier

In reply to Thomas Gleixner

Replace the license boiler plate with a SPDX license identifier.

Cc Paul McKenney <[email protected]>
Cc Peter Zijlstra <[email protected]>
---
 kernel/events/uprobes.c |   15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
kernel/events/uprobes.c +1 -14
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * User-space Probes (UProbes)
  *
- * 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,
- * 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.
- *
  * Copyright (C) IBM Corporation, 2008-2012
  * Authors:
  *	Srikar Dronamraju
#7 lore raw

[tip:perf/core] perf/uprobes: Convert to SPDX license identifier

perf/uprobes: Convert to SPDX license identifier
Commit-ID:  720e596a16cc170798a60dc7afa27146ec5fb14e
Gitweb:     https://git.kernel.org/tip/720e596a16cc170798a60dc7afa27146ec5fb14e
Author:     Thomas Gleixner <[email protected]>
AuthorDate: Wed, 16 Jan 2019 12:11:01 +0100
Committer:  Ingo Molnar <[email protected]>
CommitDate: Mon, 4 Feb 2019 08:46:13 +0100

perf/uprobes: Convert to SPDX license identifier

Replace the license boiler plate with a SPDX license identifier.

---
 kernel/events/uprobes.c | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
kernel/events/uprobes.c +1 -14
index 8aef47ee7bfa..affa830a198c 100644
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * User-space Probes (UProbes)
  *
- * 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,
- * 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.
- *
  * Copyright (C) IBM Corporation, 2008-2012
  * Authors:
  *	Srikar Dronamraju