[libcamera-devel] [PATCH] tracepoints: Add SPDX headers and copyright notices
Paul Elder
paul.elder at ideasonboard.com
Wed Nov 4 10:29:56 CET 2020
Add SPDX headers and copyright notices to the tracepoints definition
files.
Signed-off-by: Paul Elder <paul.elder at ideasonboard.com>
---
include/libcamera/internal/tracepoints/buffer_enums.tp | 7 +++++++
include/libcamera/internal/tracepoints/pipeline.tp | 7 +++++++
include/libcamera/internal/tracepoints/request.tp | 7 +++++++
include/libcamera/internal/tracepoints/request_enums.tp | 7 +++++++
4 files changed, 28 insertions(+)
diff --git a/include/libcamera/internal/tracepoints/buffer_enums.tp b/include/libcamera/internal/tracepoints/buffer_enums.tp
index fdbea69a..c5a93252 100644
--- a/include/libcamera/internal/tracepoints/buffer_enums.tp
+++ b/include/libcamera/internal/tracepoints/buffer_enums.tp
@@ -1,3 +1,10 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ * Copyright (C) 2020, Google Inc.
+ *
+ * buffer_enums.tp - Tracepoint definition for enums in the buffer class
+ */
+
TRACEPOINT_ENUM(
libcamera,
buffer_status,
diff --git a/include/libcamera/internal/tracepoints/pipeline.tp b/include/libcamera/internal/tracepoints/pipeline.tp
index c0a94635..950aa918 100644
--- a/include/libcamera/internal/tracepoints/pipeline.tp
+++ b/include/libcamera/internal/tracepoints/pipeline.tp
@@ -1,3 +1,10 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ * Copyright (C) 2020, Google Inc.
+ *
+ * pipeline.tp - Tracepoints for pipelines
+ */
+
TRACEPOINT_EVENT(
libcamera,
ipa_call_begin,
diff --git a/include/libcamera/internal/tracepoints/request.tp b/include/libcamera/internal/tracepoints/request.tp
index dd28a714..7ffc6061 100644
--- a/include/libcamera/internal/tracepoints/request.tp
+++ b/include/libcamera/internal/tracepoints/request.tp
@@ -1,3 +1,10 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ * Copyright (C) 2020, Google Inc.
+ *
+ * request.tp - Tracepoints for the request object
+ */
+
#include <libcamera/buffer.h>
#include <libcamera/request.h>
diff --git a/include/libcamera/internal/tracepoints/request_enums.tp b/include/libcamera/internal/tracepoints/request_enums.tp
index 371f6544..bcbd1aaa 100644
--- a/include/libcamera/internal/tracepoints/request_enums.tp
+++ b/include/libcamera/internal/tracepoints/request_enums.tp
@@ -1,3 +1,10 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ * Copyright (C) 2020, Google Inc.
+ *
+ * request_enums.tp - Tracepoint definition for enums in the request class
+ */
+
TRACEPOINT_ENUM(
libcamera,
request_status,
--
2.27.0
More information about the libcamera-devel
mailing list