]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
tools/bpftool: Relicense bpftool's BPF profiler prog as dual-license GPL/BSD
authorAndrii Nakryiko <andriin@fb.com>
Fri, 19 Jun 2020 22:20:24 +0000 (15:20 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 19 Jun 2020 22:27:19 +0000 (00:27 +0200)
Relicense it to be compatible with the rest of bpftool files.

Suggested-by: Quentin Monnet <quentin@isovalent.com>
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200619222024.519774-1-andriin@fb.com
tools/bpf/bpftool/skeleton/profiler.bpf.c

index 20034c12f7c52728f6ef1876e248ab1e81d63c61..c9d196ddb6704c84b917aaadb9d048cdca9370b2 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 // Copyright (c) 2020 Facebook
 #include "profiler.h"
 #include <linux/bpf.h>
@@ -116,4 +116,4 @@ int BPF_PROG(fexit_XXX)
        return 0;
 }
 
-char LICENSE[] SEC("license") = "GPL";
+char LICENSE[] SEC("license") = "Dual BSD/GPL";