The SPDX identifiers [1] are a legally binding shorthand, which can be
used instead of the full boiler plate text. This is the first step
towards implementing the full REUSE spec [2] to help with copyright and
licensing audits and compliance.
This will reduce a lot a manual work required for the licensing audit
required in Debian on each update.
For files that lacked copyright and licensing information, I used the
following guidelines. If a clear author could be determined from the git
history use it, otherwise use 'EfficiOS Inc.'. For build system files,
use 'MIT', for documentation 'CC-BY-4.0' and for data files 'CC0-1.0'.
Freeform text files were converted to Markdown to allow licensing
comments.
[1] https://spdx.org/ids-how
[2] https://reuse.software/tutorial/
Change-Id: I3c391f15d97b5958bdfacc17eb4ab2abafd9d99d
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
45 files changed:
Files: extras/abi/2.*/* extras/abi/empty/*
Copyright: 2023 EfficiOS, Inc.
License: CC0-1.0
Files: extras/abi/2.*/* extras/abi/empty/*
Copyright: 2023 EfficiOS, Inc.
License: CC0-1.0
+
+Files: tests/unit/ust-elf/data/*
+Copyright: 2023 EfficiOS, Inc.
+License: LGPL-2.1-or-later
dist_noinst_SCRIPTS = test_benchmark ptime
dist_noinst_SCRIPTS = test_benchmark ptime
+++ /dev/null
-To run the benchmark:
-
- ./test_benchmark
-
-You can specify the number of iterations, events and threads by setting
-environment variables ITERS, DURATION, NR_THREADS respectively:
-
- ITERS=10 DURATION=20 NR_THREADS=4 ./test_benchmark
-
-NR_CPUS can also be configured, but by default is based on the contents of
-/proc/cpuinfo.
--- /dev/null
+<!--
+SPDX-FileCopyrightText: 2013 Zifei Tong <soariez@gmail.com>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+To run the benchmark:
+
+ ./test_benchmark
+
+You can specify the number of iterations, events and threads by setting
+environment variables `ITERS`, `DURATION`, `NR_THREADS` respectively:
+
+ ITERS=10 DURATION=20 NR_THREADS=4 ./test_benchmark
+
+`NR_CPUS` can also be configured, but by default is based on the contents of
+`/proc/cpuinfo`.
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
#
# SPDX-License-Identifier: LGPL-2.1-only
#
# SPDX-License-Identifier: LGPL-2.1-only
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
#
# SPDX-License-Identifier: LGPL-2.1-only
#
# SPDX-License-Identifier: LGPL-2.1-only
+++ /dev/null
-This is a "hello world" application used to verify that an instrumented program
-with tracepoints using type declarations in CTF metadata can be built
-successfully.
--- /dev/null
+<!--
+SPDX-FileCopyrightText: 2016 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+This is a "hello world" application used to verify that an instrumented program
+with tracepoints using type declarations in CTF metadata can be built
+successfully.
hello_many_SOURCES = hello-many.c tp.c ust_tests_hello_many.h
hello_many_LDADD = $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la $(DL_LIBS)
hello_many_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS)
hello_many_SOURCES = hello-many.c tp.c ust_tests_hello_many.h
hello_many_LDADD = $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la $(DL_LIBS)
hello_many_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS)
+
+EXTRA_DIST = README.md
+++ /dev/null
-This is a "hello world" application used to verify that an instrumented
-program which contains more than 30 tracepoints can be built successfully.
--- /dev/null
+<!--
+SPDX-FileCopyrightText: 2018 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+This is a "hello world" application used to verify that an instrumented
+program which contains more than 30 tracepoints can be built successfully.
noinst_PROGRAMS = hello
hello_SOURCES = hello.cpp tp-cpp.cpp ust_tests_hello.h
hello_LDADD = $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la $(DL_LIBS)
noinst_PROGRAMS = hello
hello_SOURCES = hello.cpp tp-cpp.cpp ust_tests_hello.h
hello_LDADD = $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la $(DL_LIBS)
+
+EXTRA_DIST = README.md
+++ /dev/null
-This is a "hello world" application used to verify that an instrumented
-program written in C++ can be built successfully.
-
-Only enabled if a C++ build environment is detected during configure.
--- /dev/null
+<!--
+SPDX-FileCopyrightText: 2009 Pierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+This is a "hello world" application used to verify that an instrumented
+program written in C++ can be built successfully.
+
+Only enabled if a C++ build environment is detected during configure.
hello_SOURCES = hello.c tp.c ust_tests_hello.h
hello_LDADD = $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la $(DL_LIBS)
hello_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS)
hello_SOURCES = hello.c tp.c ust_tests_hello.h
hello_LDADD = $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la $(DL_LIBS)
hello_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS)
+
+EXTRA_DIST = \
+ Makefile.example.bsd \
+ Makefile.example.linux \
+ README.md
+# SPDX-FileCopyrightText: 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+#
+# SPDX-License-Identifier: MIT
+
# Example makefile for build outside of the LTTng-UST tree.
hello:
# Example makefile for build outside of the LTTng-UST tree.
hello:
+# SPDX-FileCopyrightText: 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+#
+# SPDX-License-Identifier: MIT
+
# Example makefile for build outside of the LTTng-UST tree.
hello:
# Example makefile for build outside of the LTTng-UST tree.
hello:
+++ /dev/null
-This is a "hello world" application used to verify that an instrumented
-program can be built successfully.
\ No newline at end of file
--- /dev/null
+<!--
+SPDX-FileCopyrightText: 2009 Pierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+This is a "hello world" application used to verify that an instrumented
+program can be built successfully.
$(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
$(DL_LIBS)
$(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
$(DL_LIBS)
+++ /dev/null
-This is a "hello world" application used to verify that an instrumented
-program which contains more than 30 tracepoints can be built successfully.
--- /dev/null
+<!--
+SPDX-FileCopyrightText: 2018 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+This is a "hello world" application used to verify that an instrumented
+program which contains more than 30 tracepoints can be built successfully.
$(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
$(DL_LIBS)
$(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
$(DL_LIBS)
+++ /dev/null
-This is a "hello world" application used to verify that an instrumented
-program written in C++ can be built successfully.
-
-Only enabled if a C++ build environment is detected during configure.
--- /dev/null
+<!--
+SPDX-FileCopyrightText: 2009 Pierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+This is a "hello world" application used to verify that an instrumented
+program written in C++ can be built successfully.
+
+Only enabled if a C++ build environment is detected during configure.
$(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
$(DL_LIBS)
$(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
$(DL_LIBS)
+EXTRA_DIST = \
+ Makefile.example.bsd \
+ Makefile.example.linux \
+ README.md
-# SPDX-License-Identifier: LGPL-2.1-only
+# SPDX-FileCopyrightText: 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+# SPDX-License-Identifier: MIT
+
# Example makefile for build outside of the LTTng-UST tree.
hello:
# Example makefile for build outside of the LTTng-UST tree.
hello:
-# SPDX-License-Identifier: LGPL-2.1-only
+# SPDX-FileCopyrightText: 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+# SPDX-License-Identifier: MIT
+
# Example makefile to build outside of the LTTng-UST tree.
hello:
# Example makefile to build outside of the LTTng-UST tree.
hello:
+++ /dev/null
-This is a "hello world" application used to verify that an instrumented
-program can be built successfully.
\ No newline at end of file
--- /dev/null
+<!--
+SPDX-FileCopyrightText: 2009 Pierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+This is a "hello world" application used to verify that an instrumented
+program can be built successfully.
\ No newline at end of file
$(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
$(DL_LIBS)
$(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
$(DL_LIBS)
+++ /dev/null
-This is a "hello world" application used to verify that an instrumented program
-with tracepoints using type declarations in CTF metadata can be built
-successfully.
--- /dev/null
+<!--
+SPDX-FileCopyrightText: 2016 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+This is a "hello world" application used to verify that an instrumented program
+with tracepoints using type declarations in CTF metadata can be built
+successfully.
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+#
# SPDX-License-Identifier: LGPL-2.1-only
if [ "x${UST_TESTS_SRCDIR:-}" != "x" ]; then
# SPDX-License-Identifier: LGPL-2.1-only
if [ "x${UST_TESTS_SRCDIR:-}" != "x" ]; then
-/*
- * SPDX-License-Identifier: LGPL-2.1-only
- */
+// SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+//
+// SPDX-License-Identifier: LGPL-2.1-only
-/*
- * SPDX-License-Identifier: LGPL-2.1-only
- */
+// SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+//
+// SPDX-License-Identifier: LGPL-2.1-only
#ifndef _UST_TEST_WEAK_B_H
#define _UST_TEST_WEAK_B_H
#ifndef _UST_TEST_WEAK_B_H
#define _UST_TEST_WEAK_B_H
-/*
- * SPDX-License-Identifier: LGPL-2.1-only
- */
+// SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+//
+// SPDX-License-Identifier: LGPL-2.1-only
#ifndef _UST_TEST_WEAK_LIBGCC_H
#define _UST_TEST_WEAK_LIBGCC_H
#ifndef _UST_TEST_WEAK_LIBGCC_H
#define _UST_TEST_WEAK_LIBGCC_H
-/*
- * SPDX-License-Identifier: LGPL-2.1-only
- */
+// SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+//
+// SPDX-License-Identifier: LGPL-2.1-only
-/*
- * SPDX-License-Identifier: LGPL-2.1-only
- */
+// SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+//
+// SPDX-License-Identifier: LGPL-2.1-only
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+#
# SPDX-License-Identifier: LGPL-2.1-only
if [ "x${UST_TESTS_SRCDIR:-}" != "x" ]; then
# SPDX-License-Identifier: LGPL-2.1-only
if [ "x${UST_TESTS_SRCDIR:-}" != "x" ]; then
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+#
# SPDX-License-Identifier: LGPL-2.1-only
if [ "x${UST_TESTS_SRCDIR:-}" != "x" ]; then
# SPDX-License-Identifier: LGPL-2.1-only
if [ "x${UST_TESTS_SRCDIR:-}" != "x" ]; then
-/*
- * SPDX-License-Identifier: LGPL-2.1-only
- */
+// SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+//
+// SPDX-License-Identifier: LGPL-2.1-only
-/*
- * SPDX-License-Identifier: LGPL-2.1-only
- */
+// SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+//
+// SPDX-License-Identifier: LGPL-2.1-only
-/*
- * SPDX-License-Identifier: LGPL-2.1-only
- */
+// SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+//
+// SPDX-License-Identifier: LGPL-2.1-only
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+#
# SPDX-License-Identifier: LGPL-2.1-only
if [ "x${UST_TESTS_SRCDIR:-}" != "x" ]; then
# SPDX-License-Identifier: LGPL-2.1-only
if [ "x${UST_TESTS_SRCDIR:-}" != "x" ]; then