perf beauty: Switch from GPL v2.0 to LGPL v2.1
The intention is to have this as a library, since it is not perf specific at all. I did the switch for the files where I'm the only contributor, with the exception of a few lines changed by Jiri Olsa. Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: https://lkml.kernel.org/n/tip-a04q6chdyjknm1hr305ulx8h@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>hifive-unleashed-5.1
parent
ceaf8e5b49
commit
794f594e0c
|
@ -1,9 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
/*
|
/*
|
||||||
* trace/beauty/cone.c
|
* trace/beauty/cone.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
|
* Copyright (C) 2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
|
||||||
*
|
|
||||||
* Released under the GPL v2. (and only v2, not any later version)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "trace/beauty/beauty.h"
|
#include "trace/beauty/beauty.h"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: LGPL-2.1
|
||||||
|
|
||||||
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/drm/
|
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/drm/
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
#ifndef EFD_SEMAPHORE
|
#ifndef EFD_SEMAPHORE
|
||||||
#define EFD_SEMAPHORE 1
|
#define EFD_SEMAPHORE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
/*
|
/*
|
||||||
* trace/beauty/fcntl.c
|
* trace/beauty/fcntl.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
|
* Copyright (C) 2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
|
||||||
*
|
|
||||||
* Released under the GPL v2. (and only v2, not any later version)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "trace/beauty/beauty.h"
|
#include "trace/beauty/beauty.h"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
|
|
||||||
#include "trace/beauty/beauty.h"
|
#include "trace/beauty/beauty.h"
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
#include <linux/futex.h>
|
#include <linux/futex.h>
|
||||||
|
|
||||||
#ifndef FUTEX_WAIT_BITSET
|
#ifndef FUTEX_WAIT_BITSET
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
#include <linux/futex.h>
|
#include <linux/futex.h>
|
||||||
|
|
||||||
#ifndef FUTEX_BITSET_MATCH_ANY
|
#ifndef FUTEX_BITSET_MATCH_ANY
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
/*
|
/*
|
||||||
* trace/beauty/ioctl.c
|
* trace/beauty/ioctl.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
|
* Copyright (C) 2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
|
||||||
*
|
|
||||||
* Released under the GPL v2. (and only v2, not any later version)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "trace/beauty/beauty.h"
|
#include "trace/beauty/beauty.h"
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
/*
|
/*
|
||||||
* trace/beauty/kcmp.c
|
* trace/beauty/kcmp.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
|
* Copyright (C) 2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
|
||||||
*
|
|
||||||
* Released under the GPL v2. (and only v2, not any later version)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "trace/beauty/beauty.h"
|
#include "trace/beauty/beauty.h"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: LGPL-2.1
|
||||||
|
|
||||||
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/linux/
|
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/linux/
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: LGPL-2.1
|
||||||
|
|
||||||
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/linux/
|
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/linux/
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: LGPL-2.1
|
||||||
|
|
||||||
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/asm-generic/
|
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/asm-generic/
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
#include <uapi/linux/mman.h>
|
#include <uapi/linux/mman.h>
|
||||||
|
|
||||||
static size_t syscall_arg__scnprintf_mmap_prot(char *bf, size_t size,
|
static size_t syscall_arg__scnprintf_mmap_prot(char *bf, size_t size,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
#ifndef PERF_FLAG_FD_NO_GROUP
|
#ifndef PERF_FLAG_FD_NO_GROUP
|
||||||
# define PERF_FLAG_FD_NO_GROUP (1UL << 0)
|
# define PERF_FLAG_FD_NO_GROUP (1UL << 0)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: LGPL-2.1
|
||||||
|
|
||||||
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/linux/
|
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/linux/
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
|
|
||||||
size_t syscall_arg__scnprintf_pid(char *bf, size_t size, struct syscall_arg *arg)
|
size_t syscall_arg__scnprintf_pid(char *bf, size_t size, struct syscall_arg *arg)
|
||||||
{
|
{
|
||||||
int pid = arg->val;
|
int pid = arg->val;
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
/*
|
/*
|
||||||
* trace/beauty/pkey_alloc.c
|
* trace/beauty/pkey_alloc.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
|
* Copyright (C) 2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
|
||||||
*
|
|
||||||
* Released under the GPL v2. (and only v2, not any later version)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "trace/beauty/beauty.h"
|
#include "trace/beauty/beauty.h"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: LGPL-2.1
|
||||||
|
|
||||||
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/asm-generic/
|
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/asm-generic/
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
/*
|
/*
|
||||||
* trace/beauty/prctl.c
|
* trace/beauty/prctl.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
|
* Copyright (C) 2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
|
||||||
*
|
|
||||||
* Released under the GPL v2. (and only v2, not any later version)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "trace/beauty/beauty.h"
|
#include "trace/beauty/beauty.h"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: LGPL-2.1
|
||||||
|
|
||||||
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/linux/
|
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/linux/
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
#include <sched.h>
|
#include <sched.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
#ifndef SECCOMP_SET_MODE_STRICT
|
#ifndef SECCOMP_SET_MODE_STRICT
|
||||||
#define SECCOMP_SET_MODE_STRICT 0
|
#define SECCOMP_SET_MODE_STRICT 0
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
static size_t syscall_arg__scnprintf_signum(char *bf, size_t size, struct syscall_arg *arg)
|
static size_t syscall_arg__scnprintf_signum(char *bf, size_t size, struct syscall_arg *arg)
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: LGPL-2.1
|
||||||
|
|
||||||
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/sound/
|
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/sound/
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: LGPL-2.1
|
||||||
|
|
||||||
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/sound/
|
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/sound/
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
// Copyright (C) 2018, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
|
// Copyright (C) 2018, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
|
||||||
|
|
||||||
#include "trace/beauty/beauty.h"
|
#include "trace/beauty/beauty.h"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
/*
|
/*
|
||||||
* trace/beauty/socket.c
|
* trace/beauty/socket.c
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: LGPL-2.1
|
||||||
|
|
||||||
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/linux/
|
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/linux/
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
/*
|
/*
|
||||||
* trace/beauty/statx.c
|
* trace/beauty/statx.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
|
* Copyright (C) 2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
|
||||||
*
|
|
||||||
* Released under the GPL v2. (and only v2, not any later version)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "trace/beauty/beauty.h"
|
#include "trace/beauty/beauty.h"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: LGPL-2.1
|
||||||
|
|
||||||
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/linux/
|
[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/linux/
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: LGPL-2.1
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue