trace-cmd: Add missing SPDX headers
PATCH 1/1 trace-cmd: Add missing SPDX headers
From: "Steven Rostedt (VMware)" <[email protected]>
Some files in the directory were missing the necessary SPDX headers to describe what license the file is under. These were added.
Signed-off-by Steven Rostedt (VMware) <[email protected]>
--- features.mk | 1 + include/linux/time64.h | 2 ++ lib/trace-cmd/Makefile | 2 +- lib/trace-cmd/include/private/trace-msg.h | 1 + lib/traceevent/Makefile | 2 +- lib/traceevent/plugins/Makefile | 2 ++ lib/traceevent/plugins/plugin_python_loader.c | 1 + lib/tracefs/Makefile | 2 +- python/Makefile | 2 ++ scripts/utils.mk | 1 + tracecmd/Makefile | 1 + tracecmd/include/bug.h | 1 + tracecmd/trace-usage.c | 1 + utest/Makefile | 1 + 14 files changed, 17 insertions(+), 3 deletions(-)
features.mk +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # taken from perf which was based on Linux Kbuild # try-cc
include/linux/time64.h +2 -0
@@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _TOOLS_LINUX_TIME64_H#define _TOOLS_LINUX_TIME64_H
lib/trace-cmd/Makefile +1 -1
@@ -1,4 +1,4 @@ - +# SPDX-License-Identifier: GPL-2.0 include $(src)/scripts/utils.mk
(quoted diff) +0 -0
b/lib/trace-cmd/include/private/trace-msg.h index aab8a693..cfcf9615 100644
lib/trace-cmd/include/private/trace-msg.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: LGPL-2.1 */ #ifndef _TRACE_MSG_H_#define _TRACE_MSG_H_
lib/traceevent/Makefile +1 -1
@@ -1,4 +1,4 @@ - +# SPDX-License-Identifier: GPL-2.0 include $(src)/scripts/utils.mk
(quoted diff) +0 -0
b/lib/traceevent/plugins/Makefile index 21e933af..d0afb590 100644
lib/traceevent/plugins/Makefile +2 -0
@@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0 + include $(src)/scripts/utils.mk bdir:=$(obj)/lib/traceevent/plugins
(quoted diff) +0 -0
b/lib/traceevent/plugins/plugin_python_loader.c index 01bdfad3..c9a88e4f 100644 --- a/lib/traceevent/plugins/plugin_python_loader.c +++ b/lib/traceevent/plugins/plugin_python_loader.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1
#include <Python.h>
#include <stdio.h>
#include "event-parse.h"
lib/tracefs/Makefile +1 -1
@@ -1,4 +1,4 @@ - +# SPDX-License-Identifier: LGPL-2.1 include $(src)/scripts/utils.mk
python/Makefile +2 -0
@@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0 + include $(src)/scripts/utils.mk ifdef BUILD_PYTHON_WORKS
scripts/utils.mk +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # Utils
tracecmd/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 VERSION := $(TC_VERSION) PATCHLEVEL := $(TC_PATCHLEVEL)
tracecmd/include/bug.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: LGPL-2.1 */ #ifndef __TRACE_CMD_BUG#define __TRACE_CMD_BUG
tracecmd/trace-usage.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <stdio.h> #include <stdlib.h> #include <string.h>
utest/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 include $(src)/scripts/utils.mk
Signature · 1 line
2.25.4