From 1c1968450409b3c159a3000f9e1a968ff1e5f7e8 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Thu, 6 Jul 2023 14:40:39 -0400 Subject: [PATCH] include: implement REUSE with SPDX identifiers 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: Ie6e7d801e879f78ee34361c2327338ac8b60c92b Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- include/lttng/tp/lttng-ust-tracef.h | 8 +++----- include/lttng/tp/lttng-ust-tracelog.h | 8 +++----- include/lttng/tracef.h | 8 +++----- include/lttng/tracelog.h | 8 +++----- include/lttng/tracepoint-event.h | 8 +++----- include/lttng/tracepoint-rcu.h | 8 +++----- include/lttng/tracepoint-types.h | 8 +++----- include/lttng/tracepoint.h | 8 +++----- include/lttng/urcu/pointer.h | 10 +++++----- include/lttng/urcu/static/pointer.h | 10 +++++----- include/lttng/urcu/static/urcu-ust.h | 10 +++++----- include/lttng/urcu/urcu-ust.h | 10 +++++----- include/lttng/ust-abi.h | 8 ++++---- include/lttng/ust-api-compat.h | 8 ++++---- include/lttng/ust-arch.h | 9 +++------ include/lttng/ust-cancelstate.h | 8 +++----- include/lttng/ust-clock.h | 8 +++----- include/lttng/ust-common.h | 8 ++++---- include/lttng/ust-compiler.h | 10 ++++------ include/lttng/ust-config.h.in | 6 +++--- include/lttng/ust-ctl.h | 10 ++++------ include/lttng/ust-endian.h | 8 +++----- include/lttng/ust-error.h | 10 ++++------ include/lttng/ust-events.h | 8 ++++---- include/lttng/ust-fork.h | 8 +++----- include/lttng/ust-getcpu.h | 8 +++----- include/lttng/ust-libc-wrapper.h | 8 ++++---- include/lttng/ust-ringbuffer-context.h | 8 ++++---- include/lttng/ust-sigbus.h | 19 +++---------------- include/lttng/ust-thread.h | 8 +++----- include/lttng/ust-tracepoint-event-nowrite.h | 8 +++----- include/lttng/ust-tracepoint-event-reset.h | 8 +++----- include/lttng/ust-tracepoint-event-write.h | 8 +++----- include/lttng/ust-tracepoint-event.h | 8 +++----- include/lttng/ust-tracer.h | 8 ++++---- include/lttng/ust-utils.h | 8 +++----- include/lttng/ust-version.h.in | 8 ++++---- 37 files changed, 130 insertions(+), 190 deletions(-) diff --git a/include/lttng/tp/lttng-ust-tracef.h b/include/lttng/tp/lttng-ust-tracef.h index 5bce593e..90731a52 100644 --- a/include/lttng/tp/lttng-ust-tracef.h +++ b/include/lttng/tp/lttng-ust-tracef.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2011-2014 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2011-2014 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT #include #include diff --git a/include/lttng/tp/lttng-ust-tracelog.h b/include/lttng/tp/lttng-ust-tracelog.h index 673c9abc..c3a48bb5 100644 --- a/include/lttng/tp/lttng-ust-tracelog.h +++ b/include/lttng/tp/lttng-ust-tracelog.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2011-2015 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2011-2015 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT #include #include diff --git a/include/lttng/tracef.h b/include/lttng/tracef.h index 08dca5ba..a9f53cf8 100644 --- a/include/lttng/tracef.h +++ b/include/lttng/tracef.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2013-2014 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2013-2014 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT #ifndef _LTTNG_UST_TRACEF_H #define _LTTNG_UST_TRACEF_H diff --git a/include/lttng/tracelog.h b/include/lttng/tracelog.h index 837971f1..63977fc1 100644 --- a/include/lttng/tracelog.h +++ b/include/lttng/tracelog.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2013-2015 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2013-2015 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT #ifndef _LTTNG_UST_TRACELOG_H #define _LTTNG_UST_TRACELOG_H diff --git a/include/lttng/tracepoint-event.h b/include/lttng/tracepoint-event.h index 4c072ca2..20d8280a 100644 --- a/include/lttng/tracepoint-event.h +++ b/include/lttng/tracepoint-event.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2011 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2011 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT #include diff --git a/include/lttng/tracepoint-rcu.h b/include/lttng/tracepoint-rcu.h index 3a543ce7..58de697b 100644 --- a/include/lttng/tracepoint-rcu.h +++ b/include/lttng/tracepoint-rcu.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2011-2012 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2011-2012 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT #ifndef _LTTNG_UST_TRACEPOINT_RCU_H #define _LTTNG_UST_TRACEPOINT_RCU_H diff --git a/include/lttng/tracepoint-types.h b/include/lttng/tracepoint-types.h index 42fe9486..f05fa455 100644 --- a/include/lttng/tracepoint-types.h +++ b/include/lttng/tracepoint-types.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2011-2012 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2011-2012 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT #ifndef _LTTNG_UST_TRACEPOINT_TYPES_H #define _LTTNG_UST_TRACEPOINT_TYPES_H diff --git a/include/lttng/tracepoint.h b/include/lttng/tracepoint.h index 38cd86c0..9342c5c1 100644 --- a/include/lttng/tracepoint.h +++ b/include/lttng/tracepoint.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2011-2012 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2011-2012 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT #ifndef _LTTNG_UST_TRACEPOINT_H #define _LTTNG_UST_TRACEPOINT_H diff --git a/include/lttng/urcu/pointer.h b/include/lttng/urcu/pointer.h index e9b346a9..deb6b772 100644 --- a/include/lttng/urcu/pointer.h +++ b/include/lttng/urcu/pointer.h @@ -1,9 +1,9 @@ +// SPDX-FileCopyrightText: 2009 Mathieu Desnoyers +// SPDX-FileCopyrightText: 2009 Paul E. McKenney, IBM Corporation. +// +// SPDX-License-Identifier: LGPL-2.1-or-later + /* - * SPDX-License-Identifier: LGPL-2.1-or-later - * - * Copyright (c) 2009 Mathieu Desnoyers - * Copyright (c) 2009 Paul E. McKenney, IBM Corporation. - * * Userspace RCU header. Operations on pointers. */ diff --git a/include/lttng/urcu/static/pointer.h b/include/lttng/urcu/static/pointer.h index 4ddfc325..66f55ffa 100644 --- a/include/lttng/urcu/static/pointer.h +++ b/include/lttng/urcu/static/pointer.h @@ -1,9 +1,9 @@ +// SPDX-FileCopyrightText: 2009 Mathieu Desnoyers +// SPDX-FileCopyrightText: 2009 Paul E. McKenney, IBM Corporation. +// +// SPDX-License-Identifier: LGPL-2.1-or-later + /* - * SPDX-License-Identifier: LGPL-2.1-or-later - * - * Copyright (c) 2009 Mathieu Desnoyers - * Copyright (c) 2009 Paul E. McKenney, IBM Corporation. - * * Userspace RCU header. Operations on pointers. * * TO BE INCLUDED ONLY IN CODE THAT IS TO BE RECOMPILED ON EACH LIBURCU diff --git a/include/lttng/urcu/static/urcu-ust.h b/include/lttng/urcu/static/urcu-ust.h index 3c581552..1a50f486 100644 --- a/include/lttng/urcu/static/urcu-ust.h +++ b/include/lttng/urcu/static/urcu-ust.h @@ -1,9 +1,9 @@ +// SPDX-FileCopyrightText: 2009 Mathieu Desnoyers +// SPDX-FileCopyrightText: 2009 Paul E. McKenney, IBM Corporation. +// +// SPDX-License-Identifier: LGPL-2.1-or-later + /* - * SPDX-License-Identifier: LGPL-2.1-or-later - * - * Copyright (c) 2009 Mathieu Desnoyers - * Copyright (c) 2009 Paul E. McKenney, IBM Corporation. - * * Userspace RCU header. * * TO BE INCLUDED ONLY IN CODE THAT IS TO BE RECOMPILED ON EACH LIBURCU diff --git a/include/lttng/urcu/urcu-ust.h b/include/lttng/urcu/urcu-ust.h index 2f0638d4..afbed48e 100644 --- a/include/lttng/urcu/urcu-ust.h +++ b/include/lttng/urcu/urcu-ust.h @@ -1,9 +1,9 @@ +// SPDX-FileCopyrightText: 2009 Mathieu Desnoyers +// SPDX-FileCopyrightText: 2009 Paul E. McKenney, IBM Corporation. +// +// SPDX-License-Identifier: LGPL-2.1-or-later + /* - * SPDX-License-Identifier: LGPL-2.1-or-later - * - * Copyright (c) 2009 Mathieu Desnoyers - * Copyright (c) 2009 Paul E. McKenney, IBM Corporation. - * * Userspace RCU header for LTTng-UST. Derived from liburcu * "bulletproof" flavor. * diff --git a/include/lttng/ust-abi.h b/include/lttng/ust-abi.h index 1342ca16..1fb8d881 100644 --- a/include/lttng/ust-abi.h +++ b/include/lttng/ust-abi.h @@ -1,8 +1,8 @@ +// SPDX-FileCopyrightText: 2010-2012 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT + /* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2010-2012 Mathieu Desnoyers - * * LTTng-UST ABI header */ diff --git a/include/lttng/ust-api-compat.h b/include/lttng/ust-api-compat.h index c0f52011..1f4e7bf9 100644 --- a/include/lttng/ust-api-compat.h +++ b/include/lttng/ust-api-compat.h @@ -1,8 +1,8 @@ +// SPDX-FileCopyrightText: 2021 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT + /* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2021 Mathieu Desnoyers - * * LTTng-UST API compatibility header */ diff --git a/include/lttng/ust-arch.h b/include/lttng/ust-arch.h index b2c7fe92..32de6a8b 100644 --- a/include/lttng/ust-arch.h +++ b/include/lttng/ust-arch.h @@ -1,9 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2021 Michael Jeanson - * - */ +// SPDX-FileCopyrightText: 2021 Michael Jeanson +// +// SPDX-License-Identifier: MIT #ifndef _LTTNG_UST_ARCH_H #define _LTTNG_UST_ARCH_H diff --git a/include/lttng/ust-cancelstate.h b/include/lttng/ust-cancelstate.h index efca9ac6..250c8609 100644 --- a/include/lttng/ust-cancelstate.h +++ b/include/lttng/ust-cancelstate.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: LGPL-2.1-only - * - * Copyright (C) 2021 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2021 Mathieu Desnoyers +// +// SPDX-License-Identifier: LGPL-2.1-only #ifndef _LTTNG_UST_UST_CANCELSTATE_H #define _LTTNG_UST_UST_CANCELSTATE_H diff --git a/include/lttng/ust-clock.h b/include/lttng/ust-clock.h index a5b7176d..b32f2b10 100644 --- a/include/lttng/ust-clock.h +++ b/include/lttng/ust-clock.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: LGPL-2.1-only - * - * Copyright (C) 2014 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2014 Mathieu Desnoyers +// +// SPDX-License-Identifier: LGPL-2.1-only #ifndef LTTNG_UST_CLOCK_H #define LTTNG_UST_CLOCK_H diff --git a/include/lttng/ust-common.h b/include/lttng/ust-common.h index a59a0235..d55084c9 100644 --- a/include/lttng/ust-common.h +++ b/include/lttng/ust-common.h @@ -1,8 +1,8 @@ +// SPDX-FileCopyrightText: 2021 Michael Jeanson +// +// SPDX-License-Identifier: MIT + /* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2021 Michael Jeanson - * * Public symbols of liblttng-ust-common.so */ diff --git a/include/lttng/ust-compiler.h b/include/lttng/ust-compiler.h index c0aae11e..e610f982 100644 --- a/include/lttng/ust-compiler.h +++ b/include/lttng/ust-compiler.h @@ -1,9 +1,7 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2011-2012 Mathieu Desnoyers - * Copyright (C) 2011-2012 Paul Woegerer - */ +// SPDX-FileCopyrightText: 2011-2012 Mathieu Desnoyers +// SPDX-FileCopyrightText: 2011-2012 Paul Woegerer +// +// SPDX-License-Identifier: MIT #ifndef _LTTNG_UST_COMPILER_H #define _LTTNG_UST_COMPILER_H diff --git a/include/lttng/ust-config.h.in b/include/lttng/ust-config.h.in index fb6e371c..6ca70665 100644 --- a/include/lttng/ust-config.h.in +++ b/include/lttng/ust-config.h.in @@ -1,6 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - */ +// SPDX-FileCopyrightText: 2023 EfficiOS, Inc +// +// SPDX-License-Identifier: MIT #ifndef _LTTNG_UST_CONFIG_H #define _LTTNG_UST_CONFIG_H diff --git a/include/lttng/ust-ctl.h b/include/lttng/ust-ctl.h index 42b30ea9..86aa6ef7 100644 --- a/include/lttng/ust-ctl.h +++ b/include/lttng/ust-ctl.h @@ -1,9 +1,7 @@ -/* - * SPDX-License-Identifier: GPL-2.0-only - * - * Copyright (C) 2011 EfficiOS Inc. - * Copyright (C) 2011-2013 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2011 EfficiOS Inc. +// SPDX-FileCopyrightText: 2011-2013 Mathieu Desnoyers +// +// SPDX-License-Identifier: GPL-2.0-only #ifndef _LTTNG_UST_CTL_H #define _LTTNG_UST_CTL_H diff --git a/include/lttng/ust-endian.h b/include/lttng/ust-endian.h index 8bdb8a7f..5a6085f9 100644 --- a/include/lttng/ust-endian.h +++ b/include/lttng/ust-endian.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2012 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2012 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT /* * This header defines the following endian macros based on the current diff --git a/include/lttng/ust-error.h b/include/lttng/ust-error.h index 49045bab..838c5daa 100644 --- a/include/lttng/ust-error.h +++ b/include/lttng/ust-error.h @@ -1,9 +1,7 @@ -/* - * SPDX-License-Identifier: LGPL-2.1-only - * - * Copyright (C) 2011 EfficiOS Inc. - * Copyright (C) 2011 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2011 EfficiOS Inc. +// SPDX-FileCopyrightText: 2011 Mathieu Desnoyers +// +// SPDX-License-Identifier: LGPL-2.1-only #ifndef _LTTNG_UST_ERROR_H #define _LTTNG_UST_ERROR_H diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 6a918f4d..4088157f 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -1,8 +1,8 @@ +// SPDX-FileCopyrightText: 2010-2012 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT + /* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2010-2012 Mathieu Desnoyers - * * Holds LTTng per-session event registry. */ diff --git a/include/lttng/ust-fork.h b/include/lttng/ust-fork.h index 7210f17b..d7d57cfc 100644 --- a/include/lttng/ust-fork.h +++ b/include/lttng/ust-fork.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2011-2012 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2011-2012 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT #ifndef _LTTNG_UST_FORK_H #define _LTTNG_UST_FORK_H diff --git a/include/lttng/ust-getcpu.h b/include/lttng/ust-getcpu.h index f5f08c6b..39bf4249 100644 --- a/include/lttng/ust-getcpu.h +++ b/include/lttng/ust-getcpu.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: LGPL-2.1-only - * - * Copyright (C) 2014 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2014 Mathieu Desnoyers +// +// SPDX-License-Identifier: LGPL-2.1-only #ifndef LTTNG_UST_GETCPU_H #define LTTNG_UST_GETCPU_H diff --git a/include/lttng/ust-libc-wrapper.h b/include/lttng/ust-libc-wrapper.h index 0853997b..3989ec04 100644 --- a/include/lttng/ust-libc-wrapper.h +++ b/include/lttng/ust-libc-wrapper.h @@ -1,8 +1,8 @@ +// SPDX-FileCopyrightText: 2020 Michael Jeanson +// +// SPDX-License-Identifier: MIT + /* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2020 Michael Jeanson - * * Public symbols of liblttng-ust-libc-wrapper.so */ diff --git a/include/lttng/ust-ringbuffer-context.h b/include/lttng/ust-ringbuffer-context.h index 70ec2440..9822a4f2 100644 --- a/include/lttng/ust-ringbuffer-context.h +++ b/include/lttng/ust-ringbuffer-context.h @@ -1,8 +1,8 @@ +// SPDX-FileCopyrightText: 2010-2021 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT + /* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2010-2021 Mathieu Desnoyers - * * Ring buffer context header. */ diff --git a/include/lttng/ust-sigbus.h b/include/lttng/ust-sigbus.h index 7cdc1c1f..0128ea6a 100644 --- a/include/lttng/ust-sigbus.h +++ b/include/lttng/ust-sigbus.h @@ -1,19 +1,6 @@ -/* - * Copyright (C) 2020 - Mathieu Desnoyers - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License only. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +// SPDX-FileCopyrightText: 2020 Mathieu Desnoyers +// +// SPDX-License-Identifier: GPL-2.0-only #ifndef _LTTNG_UST_SIGBUS_H #define _LTTNG_UST_SIGBUS_H diff --git a/include/lttng/ust-thread.h b/include/lttng/ust-thread.h index 2c84ae76..e156178a 100644 --- a/include/lttng/ust-thread.h +++ b/include/lttng/ust-thread.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2021 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2021 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT #ifndef _LTTNG_UST_THREAD_H #define _LTTNG_UST_THREAD_H diff --git a/include/lttng/ust-tracepoint-event-nowrite.h b/include/lttng/ust-tracepoint-event-nowrite.h index 552955b6..1bbc8e75 100644 --- a/include/lttng/ust-tracepoint-event-nowrite.h +++ b/include/lttng/ust-tracepoint-event-nowrite.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2011 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2011 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT #undef lttng_ust_field_integer_nowrite #define lttng_ust_field_integer_nowrite(_type, _item, _src) \ diff --git a/include/lttng/ust-tracepoint-event-reset.h b/include/lttng/ust-tracepoint-event-reset.h index 10c288fe..4bd5a5cd 100644 --- a/include/lttng/ust-tracepoint-event-reset.h +++ b/include/lttng/ust-tracepoint-event-reset.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2011 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2011 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT /* Define to "nothing" all macros used for LTTNG_UST_TRACEPOINT_EVENT */ diff --git a/include/lttng/ust-tracepoint-event-write.h b/include/lttng/ust-tracepoint-event-write.h index f43fd4c3..69ad87e5 100644 --- a/include/lttng/ust-tracepoint-event-write.h +++ b/include/lttng/ust-tracepoint-event-write.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2011 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2011 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT #undef lttng_ust_field_integer #define lttng_ust_field_integer(_type, _item, _src) \ diff --git a/include/lttng/ust-tracepoint-event.h b/include/lttng/ust-tracepoint-event.h index 951c0f4e..baf98793 100644 --- a/include/lttng/ust-tracepoint-event.h +++ b/include/lttng/ust-tracepoint-event.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2011-2012 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2011-2012 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT #include #include diff --git a/include/lttng/ust-tracer.h b/include/lttng/ust-tracer.h index 7e6a2513..0094477e 100644 --- a/include/lttng/ust-tracer.h +++ b/include/lttng/ust-tracer.h @@ -1,8 +1,8 @@ +// SPDX-FileCopyrightText: 2005-2012 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT + /* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2005-2012 Mathieu Desnoyers - * * This contains the core definitions for the Linux Trace Toolkit. */ diff --git a/include/lttng/ust-utils.h b/include/lttng/ust-utils.h index e60cdbe3..575034fa 100644 --- a/include/lttng/ust-utils.h +++ b/include/lttng/ust-utils.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2010-2011 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2010-2011 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT #ifndef _LTTNG_UST_UTILS_H #define _LTTNG_UST_UTILS_H diff --git a/include/lttng/ust-version.h.in b/include/lttng/ust-version.h.in index cac1a182..f7e90778 100644 --- a/include/lttng/ust-version.h.in +++ b/include/lttng/ust-version.h.in @@ -1,8 +1,8 @@ +// SPDX-FileCopyrightText: 2011 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT + /* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2011 Mathieu Desnoyers - * * Contains the LTTng-UST versions. */ -- 2.34.1