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
-EXTRA_DIST = README
+EXTRA_DIST = README.md
+++ /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`.
#!/usr/bin/env python
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
#
# SPDX-License-Identifier: LGPL-2.1-only
#!/bin/bash
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
#
# 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)
+
+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)
+
+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)
+
+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:
+# SPDX-FileCopyrightText: 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+#
+# SPDX-License-Identifier: MIT
+
# 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)
-EXTRA_DIST = README
+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.
$(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
$(DL_LIBS)
-EXTRA_DIST = README
+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.
$(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
$(DL_LIBS)
-EXTRA_DIST = README
+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:
-# 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:
+++ /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)
-EXTRA_DIST = README
+EXTRA_DIST = README.md
+++ /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.
#!/bin/bash
+
+# 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
- */
+// SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+//
+// SPDX-License-Identifier: LGPL-2.1-only
#include "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_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
-/*
- * SPDX-License-Identifier: LGPL-2.1-only
- */
+// SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+//
+// SPDX-License-Identifier: LGPL-2.1-only
#include "libgcc-wh.h"
-/*
- * SPDX-License-Identifier: LGPL-2.1-only
- */
+// SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+//
+// SPDX-License-Identifier: LGPL-2.1-only
#include "libgcc-wh.h"
#!/bin/bash
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+#
# SPDX-License-Identifier: LGPL-2.1-only
if [ "x${UST_TESTS_SRCDIR:-}" != "x" ]; then
#!/bin/bash
+
+# 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
- */
+// SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+//
+// SPDX-License-Identifier: LGPL-2.1-only
int main()
{
-/*
- * SPDX-License-Identifier: LGPL-2.1-only
- */
+// SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+//
+// SPDX-License-Identifier: LGPL-2.1-only
#include <stdio.h>
-/*
- * SPDX-License-Identifier: LGPL-2.1-only
- */
+// SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+//
+// SPDX-License-Identifier: LGPL-2.1-only
#include <stdio.h>
#!/bin/bash
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+#
# SPDX-License-Identifier: LGPL-2.1-only
if [ "x${UST_TESTS_SRCDIR:-}" != "x" ]; then