-Library test code is distributed under the GPLv2 license, as specified in the
-per-file license. See gpl-2.0.txt for details. A copy of the
-perf_event.h Linux kernel installed header file is also licensed under
-GPLv2.
+ SPDX-License-Identifier: MIT
+
+According with:
+
+ LICENSES/MIT
+
+
+The UST control library is provided under the terms of the GNU General
+Public License v2.0 only:
+
+ SPDX-License-Identifier: GPL-2.0-only
+
+According with:
+
+ LICENSES/GPL-2.0
+
+This applies to:
+
+ src/lib/lttng-ust-ctl/ust-ctl-private.h
+ src/lib/lttng-ust-ctl/ustctl.c
+
+
+
+The snprintf code is provided under the terms of the BSD 3-Clause "New" or
+"Revised" License:
+
+ SPDX-License-Identifier: BSD-3-Clause
+
+According with:
+
+ LICENSES/BSD-3-Clause
+
+This applies to:
+
+ snprintf/fflush.c
+ snprintf/fileext.h
+ snprintf/floatio.h
+ snprintf/fvwrite.c
+ snprintf/fvwrite.h
+ snprintf/local.h
+ snprintf/mbrtowc_sb.c
+ snprintf/snprintf.c
+ snprintf/various.h
+ snprintf/vfprintf.c
+ snprintf/wcio.h:5
+ snprintf/wsetup.c
+
+
+The TAP test library is provided under the terms of the BSD 2-Clause
+"Simplified" License:
+
+ SPDX-License-Identifier: BSD-2-Clause
+
+According with:
+
+ LICENSES/BSD-2-Clause
+
+They are only used when running the tests in the source tree. This applies
+to:
+
+ tests/utils/tap.h
+ tests/utils/tap.c
+
+
+The BASH TAP library is provided under the terms of the GNU General Public
+License v3.0 or later:
+
+ SPDX-License-Identifier: GPL-3.0-or-later
+
+According with:
+
+ LICENSES/GPL-3.0
+
+It's only used when running the tests in the source tree. This applies to:
+
+ tests/utils/tap.sh
+
+
+In addition, other licenses may also apply, see SPDX-License-Identifier in
+individual files.