Skip to contentSkip to conversation

tools/bpftool: relicense bpftool's BPF profiler prog as dual-license GPL/BSD

PATCH Applied Andrii Nakryiko 2 participants 2 messages Jun 19, 2020

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

PATCH 1/1 tools/bpftool: relicense bpftool's BPF profiler prog as dual-license GPL/BSD

Relicense it to be compatible with the rest of bpftool files.

---
 tools/bpf/bpftool/skeleton/profiler.bpf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/bpf/bpftool/skeleton/profiler.bpf.c +2 -2
index 20034c12f7c5..c9d196ddb670 100644
@@ -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";
Signature · 1 line
2.24.1