Skip to content

Commit

Permalink
Adopt SPDX-License-Identifier
Browse files Browse the repository at this point in the history
Signed-off-by: Domenico Andreoli <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
  • Loading branch information
cavokz authored and acmel committed Jan 18, 2019
1 parent c86960d commit e714d2e
Show file tree
Hide file tree
Showing 40 changed files with 105 additions and 152 deletions.
6 changes: 6 additions & 0 deletions btf_encoder.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2019 Arnaldo Carvalho de Melo <[email protected]>
*/

#include "dwarves.h"
#include "libbtf.h"
#include "btf.h"
Expand Down
5 changes: 5 additions & 0 deletions btf_encoder.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#ifndef _BTF_ENCODER_H_
#define _BTF_ENCODER_H_ 1
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2019 Arnaldo Carvalho de Melo <[email protected]>
*/

struct cu;

Expand Down
6 changes: 2 additions & 4 deletions codiff.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2006 Mandriva Conectiva S.A.
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]>
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
*/

#include <argp.h>
Expand Down
5 changes: 5 additions & 0 deletions ctf.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#ifndef _CTF_H
#define _CTF_H
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2019 Arnaldo Carvalho de Melo <[email protected]>
*/

#include <stdint.h>

Expand Down
6 changes: 2 additions & 4 deletions ctf_encoder.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2009 Red Hat Inc.
Copyright (C) 2009 Arnaldo Carvalho de Melo <[email protected]>
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
*/

#include "dwarves.h"
Expand Down
6 changes: 2 additions & 4 deletions ctf_encoder.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
#ifndef _CTF_ENCODER_H_
#define _CTF_ENCODER_H_ 1
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2009 Red Hat Inc.
Copyright (C) 2009 Arnaldo Carvalho de Melo <[email protected]>
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
*/

struct cu;
Expand Down
6 changes: 2 additions & 4 deletions ctracer.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2006 Mandriva Conectiva S.A.
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]>
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
*/

#include <argp.h>
Expand Down
6 changes: 2 additions & 4 deletions dtagnames.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2006 Mandriva Conectiva S.A.
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]>
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
*/

#include <stdio.h>
Expand Down
6 changes: 2 additions & 4 deletions dutil.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/*
Copyright (C) 2007 Arnaldo Carvalho de Melo <[email protected]>
SPDX-License-Identifier: GPL-2.0-only
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
Copyright (C) 2007 Arnaldo Carvalho de Melo <[email protected]>
*/


Expand Down
6 changes: 2 additions & 4 deletions dutil.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
#ifndef _DUTIL_H_
#define _DUTIL_H_ 1
/*
SPDX-License-Identifier: GPL-2.0-only
* Copyright (C) 2007..2009 Arnaldo Carvalho de Melo <[email protected]>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* Some functions came from the Linux Kernel sources, copyrighted by a
* cast of dozens, please see the Linux Kernel git history for details.
*/
Expand Down
6 changes: 2 additions & 4 deletions dwarf_loader.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/*
Copyright (C) 2008 Arnaldo Carvalho de Melo <[email protected]>
SPDX-License-Identifier: GPL-2.0-only
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
Copyright (C) 2008 Arnaldo Carvalho de Melo <[email protected]>
*/

#include <assert.h>
Expand Down
6 changes: 2 additions & 4 deletions dwarves.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2006 Mandriva Conectiva S.A.
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]>
Copyright (C) 2007 Red Hat Inc.
Copyright (C) 2007 Arnaldo Carvalho de Melo <[email protected]>
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
*/

#include <assert.h>
Expand Down
6 changes: 2 additions & 4 deletions dwarves.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
#ifndef _DWARVES_H_
#define _DWARVES_H_ 1
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2006 Mandriva Conectiva S.A.
Copyright (C) 2006..2009 Arnaldo Carvalho de Melo <[email protected]>
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
*/


Expand Down
6 changes: 2 additions & 4 deletions dwarves_emit.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2006 Mandriva Conectiva S.A.
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]>
Copyright (C) 2007 Red Hat Inc.
Copyright (C) 2007 Arnaldo Carvalho de Melo <[email protected]>
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
*/

#include <string.h>
Expand Down
6 changes: 2 additions & 4 deletions dwarves_emit.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
#ifndef _DWARVES_EMIT_H_
#define _DWARVES_EMIT_H_ 1
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2006 Mandriva Conectiva S.A.
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]>
Copyright (C) 2007 Arnaldo Carvalho de Melo <[email protected]>
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
*/

#include <stdio.h>
Expand Down
6 changes: 2 additions & 4 deletions dwarves_fprintf.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2006 Mandriva Conectiva S.A.
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]>
Copyright (C) 2007..2009 Red Hat Inc.
Copyright (C) 2007..2009 Arnaldo Carvalho de Melo <[email protected]>
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
*/

#include <dwarf.h>
Expand Down
6 changes: 2 additions & 4 deletions dwarves_reorganize.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2006 Mandriva Conectiva S.A.
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]>
Copyright (C) 2007 Red Hat Inc.
Copyright (C) 2007 Arnaldo Carvalho de Melo <[email protected]>
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
*/

#include "list.h"
Expand Down
6 changes: 2 additions & 4 deletions dwarves_reorganize.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
#ifndef _DWARVES_REORGANIZE_H_
#define _DWARVES_REORGANIZE_H_ 1
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2006 Mandriva Conectiva S.A.
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]>
Copyright (C) 2007 Arnaldo Carvalho de Melo <[email protected]>
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
*/


Expand Down
6 changes: 2 additions & 4 deletions elf_symtab.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2009 Red Hat Inc.
Copyright (C) 2009 Arnaldo Carvalho de Melo <[email protected]>
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
*/

#include <malloc.h>
Expand Down
6 changes: 2 additions & 4 deletions elf_symtab.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
#ifndef _ELF_SYMTAB_H_
#define _ELF_SYMTAB_H_ 1
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2009 Red Hat Inc.
Copyright (C) 2009 Arnaldo Carvalho de Melo <[email protected]>
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
*/

#include <stdbool.h>
Expand Down
6 changes: 2 additions & 4 deletions elfcreator.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/*
* Copyright 2009 Red Hat, Inc.
* SPDX-License-Identifier: GPL-2.0-only
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
* Copyright 2009 Red Hat, Inc.
*
* Author: Peter Jones <[email protected]>
*/
Expand Down
6 changes: 2 additions & 4 deletions elfcreator.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/*
* Copyright 2009 Red Hat, Inc.
* SPDX-License-Identifier: GPL-2.0-only
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
* Copyright 2009 Red Hat, Inc.
*
* Author: Peter Jones <[email protected]>
*/
Expand Down
6 changes: 2 additions & 4 deletions gobuffer.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2008 Arnaldo Carvalho de Melo <[email protected]>
Grow only buffer, add entries but never delete
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
*/

#include "gobuffer.h"
Expand Down
6 changes: 2 additions & 4 deletions gobuffer.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
#ifndef _GOBUFFER_H_
#define _GOBUFFER_H_ 1
/*
Copyright (C) 2008 Arnaldo Carvalho de Melo <[email protected]>
SPDX-License-Identifier: GPL-2.0-only
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
Copyright (C) 2008 Arnaldo Carvalho de Melo <[email protected]>
*/

struct gobuffer {
Expand Down
6 changes: 6 additions & 0 deletions libbtf.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2019 Arnaldo Carvalho de Melo <[email protected]>
*/

#include <fcntl.h>
#include <gelf.h>
#include <limits.h>
Expand Down
6 changes: 6 additions & 0 deletions libbtf.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2019 Arnaldo Carvalho de Melo <[email protected]>
*/

#ifndef _LIBBTF_H
#define _LIBBTF_H

Expand Down
6 changes: 6 additions & 0 deletions libctf.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2019 Arnaldo Carvalho de Melo <[email protected]>
*/

#include <fcntl.h>
#include <gelf.h>
#include <limits.h>
Expand Down
6 changes: 6 additions & 0 deletions libctf.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2019 Arnaldo Carvalho de Melo <[email protected]>
*/

#ifndef _LIBCTF_H
#define _LIBCTF_H

Expand Down
6 changes: 2 additions & 4 deletions list.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
#ifndef _LINUX_LIST_H
#define _LINUX_LIST_H
/*
Copyright (C) Cast of dozens, comes from the Linux kernel
SPDX-License-Identifier: GPL-2.0-only
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
Copyright (C) Cast of dozens, comes from the Linux kernel
*/

#include <stddef.h>
Expand Down
6 changes: 2 additions & 4 deletions pahole.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/*
SPDX-License-Identifier: GPL-2.0-only
Copyright (C) 2006 Mandriva Conectiva S.A.
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]>
Copyright (C) 2007-2008 Arnaldo Carvalho de Melo <[email protected]>
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
*/

#include <argp.h>
Expand Down
Loading

0 comments on commit e714d2e

Please sign in to comment.