perf: Remove FSF address
PATCH 1/1 perf: Remove FSF address
Checkpatch in the kernel now complains about having the FSF address in comments. Other tools such as rpmlint are now starting to do the same thing. Remove the FSF address to reduce warnings on multiple tools.
---
For context, I'm updating the packaging for perf in Fedora which requires a code/output review. This got flagged during that review.
--- tools/perf/arch/sh/util/dwarf-regs.c | 5 ----- tools/perf/arch/x86/util/dwarf-regs.c | 5 ----- tools/perf/builtin-probe.c | 5 ----- tools/perf/jvmti/jvmti_agent.c | 4 ---- tools/perf/scripts/perl/Perf-Trace-Util/Context.xs | 5 ----- tools/perf/scripts/python/Perf-Trace-Util/Context.c | 5 ----- tools/perf/util/dwarf-aux.c | 5 ----- tools/perf/util/dwarf-aux.h | 5 ----- tools/perf/util/intel-pt-decoder/inat.c | 5 ----- tools/perf/util/intel-pt-decoder/inat.h | 5 ----- tools/perf/util/intel-pt-decoder/inat_types.h | 4 ---- tools/perf/util/intel-pt-decoder/insn.c | 4 ---- tools/perf/util/intel-pt-decoder/insn.h | 4 ---- tools/perf/util/probe-event.c | 4 ---- tools/perf/util/probe-finder.c | 4 ---- tools/perf/util/scripting-engines/trace-event-perl.c | 4 ---- tools/perf/util/scripting-engines/trace-event-python.c | 4 ---- tools/perf/util/trace-event-info.c | 4 ---- tools/perf/util/trace-event-parse.c | 4 ---- tools/perf/util/trace-event-read.c | 4 ---- tools/perf/util/trace-event-scripting.c | 4 ---- 21 files changed, 93 deletions(-)
tools/perf/arch/sh/util/dwarf-regs.c +0 -5
@@ -12,11 +12,6 @@* 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. -* */ #include <stddef.h>
tools/perf/arch/x86/util/dwarf-regs.c +0 -5
@@ -13,11 +13,6 @@* 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. -* */ #include <stddef.h>
tools/perf/builtin-probe.c +0 -5
@@ -14,11 +14,6 @@* 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. -* */ #include <sys/utsname.h> #include <sys/types.h>
tools/perf/jvmti/jvmti_agent.c +0 -4
@@ -12,10 +12,6 @@* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* * Copyright 2007 OProfile authors * Jens Wilke * Daniel Hansel
tools/perf/scripts/perl/Perf-Trace-Util/Context.xs +0 -5
@@ -12,11 +12,6 @@ * 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 - * */ #include "EXTERN.h"
tools/perf/scripts/python/Perf-Trace-Util/Context.c +0 -5
@@ -12,11 +12,6 @@* 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 -* */ #include <Python.h>
tools/perf/util/dwarf-aux.c +0 -5
@@ -10,11 +10,6 @@* 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. -* */ #include <errno.h>
tools/perf/util/dwarf-aux.h +0 -5
@@ -12,11 +12,6 @@* 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. -* */ #include <dwarf.h>
tools/perf/util/intel-pt-decoder/inat.c +0 -5
@@ -12,11 +12,6 @@* 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. -* */ #include "insn.h"
tools/perf/util/intel-pt-decoder/inat.h +0 -5
@@ -14,11 +14,6 @@* 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. -* */ #include "inat_types.h"
tools/perf/util/intel-pt-decoder/inat_types.h +0 -4
@@ -15,10 +15,6 @@* 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. -* */ /* Instruction attributes */
tools/perf/util/intel-pt-decoder/insn.c +0 -4
@@ -11,10 +11,6 @@* 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, 2002, 2004, 2009 */
tools/perf/util/intel-pt-decoder/insn.h +0 -4
@@ -13,10 +13,6 @@* 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, 2009 */
tools/perf/util/probe-event.c +0 -4
@@ -13,10 +13,6 @@* 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. -* */ #include <inttypes.h>
tools/perf/util/probe-finder.c +0 -4
@@ -13,10 +13,6 @@* 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. -* */ #include <inttypes.h>
tools/perf/util/scripting-engines/trace-event-perl.c +0 -4
@@ -13,10 +13,6 @@* 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 -* */ #include <inttypes.h>
tools/perf/util/scripting-engines/trace-event-python.c +0 -4
@@ -13,10 +13,6 @@* 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 -* */ #include <Python.h>
tools/perf/util/trace-event-info.c +0 -4
@@ -12,10 +12,6 @@* 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 -* * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ #include "util.h"
tools/perf/util/trace-event-parse.c +0 -4
@@ -12,10 +12,6 @@* 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 -* * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ #include <stdio.h>
tools/perf/util/trace-event-read.c +0 -4
@@ -12,10 +12,6 @@* 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 -* * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ #include <dirent.h>
tools/perf/util/trace-event-scripting.c +0 -4
@@ -13,10 +13,6 @@* 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 -* */ #include <stdio.h>
Signature · 1 line
2.14.3
A message that is not in the archive (sent off-list or not yet received): [email protected]
Arnaldo Carvalho de Melo
maintainerEm Fri, Dec 15, 2017 at 10:59:19AM -0300, Arnaldo Carvalho de Melo escreveu:
Quoted 11 lines
Em Thu, Dec 14, 2017 at 03:28:45PM -0800, Laura Abbott escreveu:
Quoted 8 lines
Checkpatch in the kernel now complains about having the FSF address in comments. Other tools such as rpmlint are now starting to do the same thing. Remove the FSF address to reduce warnings on multiple tools.
Signed-off-by Laura Abbott <[email protected]>---
For context, I'm updating the packaging for perf in Fedora which requires a code/output review. This got flagged during that review.Thanks for the patch, applied.
Ingo pointed out to me that for the files we copied from the kernel we better wait for the kernel original files to be changed, when we'll notice via tools/perf/check-headers.sh and update the copies. The intel pt decoder still have this check done outside check-headers.sh, we need to do it there, conceptually its the same issue tho.
I'll separate the patch that touches things that are tools/ only and apply next week, when I get back from vacation time.
- Arnaldo