doc: implement REUSE with SPDX identifiers
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 6 Jul 2023 18:40:15 +0000 (14:40 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 10 Jan 2024 17:20:10 +0000 (12:20 -0500)
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: Idc57357d401c4efac4d0c641108607236fa8ecd4
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
60 files changed:
doc/Makefile.am
doc/examples/Makefile.am
doc/examples/clock-override/README [deleted file]
doc/examples/clock-override/README.md [new file with mode: 0644]
doc/examples/clock-override/run-clock-override
doc/examples/cmake-multiple-shared-libraries/CMakeLists.txt
doc/examples/cmake-multiple-shared-libraries/cmake/FindLTTngUST.cmake
doc/examples/cmake-multiple-shared-libraries/trace.sh
doc/examples/demo-tracef/README [deleted file]
doc/examples/demo-tracef/README.md [new file with mode: 0644]
doc/examples/demo-tracelog/README [deleted file]
doc/examples/demo-tracelog/README.md [new file with mode: 0644]
doc/examples/demo-tracelog/demo-vtracelog.c
doc/examples/demo/README [deleted file]
doc/examples/demo/README.md [new file with mode: 0644]
doc/examples/demo/demo-trace
doc/examples/gen-tp/sample.c
doc/examples/gen-tp/sample_tracepoint.tp
doc/examples/getcpu-override/README [deleted file]
doc/examples/getcpu-override/README.md [new file with mode: 0644]
doc/examples/getcpu-override/run-getcpu-override
doc/examples/hello-static-lib/README [deleted file]
doc/examples/hello-static-lib/README.md [new file with mode: 0644]
doc/examples/java-jul/README [deleted file]
doc/examples/java-jul/README.md [new file with mode: 0644]
doc/examples/java-jul/run
doc/examples/java-log4j/run
doc/examples/java-log4j2-basic/log4j2.xml
doc/examples/java-log4j2-basic/run
doc/examples/java-log4j2-ctx/log4j2.ctx1.xml
doc/examples/java-log4j2-ctx/log4j2.ctx2.xml
doc/examples/java-log4j2-ctx/run
doc/examples/java-log4j2-prog/run
doc/examples/python/hello.py
doc/java-agent.md [new file with mode: 0644]
doc/java-agent.txt [deleted file]
doc/man/asciidoc.conf
doc/man/common-authors.txt
doc/man/common-copyrights.txt
doc/man/common-footer-author.txt
doc/man/common-footer.txt
doc/man/do_tracepoint.3
doc/man/log-levels.txt
doc/man/lttng-gen-tp.1.txt
doc/man/lttng-ust-cyg-profile.3.txt
doc/man/lttng-ust-dl.3.txt
doc/man/lttng-ust.3.txt
doc/man/lttng_ust_do_tracepoint.3
doc/man/lttng_ust_tracef.3.txt
doc/man/lttng_ust_tracelog.3.txt
doc/man/lttng_ust_tracepoint.3
doc/man/lttng_ust_tracepoint_enabled.3
doc/man/manpage.xsl
doc/man/tracef-tracelog-limitations.txt
doc/man/tracef.3.txt
doc/man/tracelog.3.txt
doc/man/tracepoint.3
doc/man/tracepoint_enabled.3
doc/python-agent.md [new file with mode: 0644]
doc/python-agent.txt [deleted file]

index 59a4c5b523def281268acac90767da3962166c2c..7eac79f22c40f32abf83a2b3fec057647ecb3e1c 100644 (file)
@@ -8,4 +8,6 @@ if ENABLE_EXAMPLES
 SUBDIRS += examples
 endif
 
-dist_doc_DATA = java-agent.txt
+dist_doc_DATA = \
+       java-agent.md \
+       python-agent.md
index e7010a75a9229305704ea7eed80c8e3893d06547..aebf63bdf5bf11784d81aec5f767321a9a1d950f 100644 (file)
@@ -20,7 +20,7 @@ dist_doc_examples_java_jul_DATA = java-jul/Makefile \
                                  java-jul/run \
                                  java-jul/ApplicationContextExample.java \
                                  java-jul/FilterChangeListenerExample.java \
-                                 java-jul/README
+                                 java-jul/README.md
 SUBDIRS_JUL = java-jul
 endif
 
@@ -94,7 +94,7 @@ dist_doc_examples_gen_tp_DATA = gen-tp/Makefile \
 dist_doc_examples_demo_DATA = demo/demo.c \
        demo/demo-trace \
        demo/Makefile \
-       demo/README \
+       demo/README.md \
        demo/tp2.c \
        demo/tp3.c \
        demo/tp.c \
@@ -104,29 +104,29 @@ dist_doc_examples_demo_DATA = demo/demo.c \
 
 dist_doc_examples_hello_static_lib_DATA = hello-static-lib/Makefile \
        hello-static-lib/hello.c \
-       hello-static-lib/README \
+       hello-static-lib/README.md \
        hello-static-lib/ust_tests_hello.h \
        hello-static-lib/tp.c
 
 dist_doc_examples_demo_tracef_DATA = demo-tracef/Makefile \
        demo-tracef/demo-tracef.c \
        demo-tracef/demo-vtracef.c \
-       demo-tracef/README
+       demo-tracef/README.md
 
 dist_doc_examples_demo_tracelog_DATA = demo-tracelog/Makefile \
        demo-tracelog/demo-tracelog.c \
        demo-tracelog/demo-vtracelog.c \
-       demo-tracelog/README
+       demo-tracelog/README.md
 
 dist_doc_examples_clock_override_DATA = clock-override/Makefile \
        clock-override/lttng-ust-clock-override-example.c \
        clock-override/run-clock-override \
-       clock-override/README
+       clock-override/README.md
 
 dist_doc_examples_getcpu_override_DATA = getcpu-override/Makefile \
        getcpu-override/lttng-ust-getcpu-override-example.c \
        getcpu-override/run-getcpu-override \
-       getcpu-override/README
+       getcpu-override/README.md
 
 # Copies are for VPATH build support
 SUBDIRS_PROXY = easy-ust demo hello-static-lib demo-tracef clock-override \
diff --git a/doc/examples/clock-override/README b/doc/examples/clock-override/README
deleted file mode 100644 (file)
index aabbee2..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-This clock override example shows how to implement and load a clock
-override plugin for LTTng-UST. This can be useful in cases where direct
-hardware access is available for architecture-specific clocks, and where
-it should be used rather than the Linux kernel Monotonic clock.
-
-When using LTTng-tools keep in mind that lttng-sessiond uses lttng-ust's clock
-definition and functions. Thus LTTNG_UST_CLOCK_PLUGIN needs to be defined when
-launching lttng-sessiond.
diff --git a/doc/examples/clock-override/README.md b/doc/examples/clock-override/README.md
new file mode 100644 (file)
index 0000000..9f945b9
--- /dev/null
@@ -0,0 +1,14 @@
+<!--
+SPDX-FileCopyrightText: 2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+This clock override example shows how to implement and load a clock
+override plugin for LTTng-UST. This can be useful in cases where direct
+hardware access is available for architecture-specific clocks, and where
+it should be used rather than the Linux kernel Monotonic clock.
+
+When using LTTng-tools keep in mind that lttng-sessiond uses lttng-ust's clock
+definition and functions. Thus `LTTNG_UST_CLOCK_PLUGIN` needs to be defined
+when launching lttng-sessiond.
index 77a484fba04d2b4c6f4bd35c4b733318edf65014..de896ce91664a83872c631a98726a98b9f6a7b03 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
 #
 # SPDX-License-Identifier: MIT
 
index 8cfc6112736524ef6016a0a91aa2baf4a0656963..946da8da4b7cc269bfb425e6dced16a29231ea6b 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+#
 # SPDX-License-Identifier: MIT
 
 cmake_minimum_required(VERSION 2.8.11)
index a98970c50fb791e2d75f4408b82dd539f1bc720f..859de6a306b4005aa7768f674270ed6ee718018e 100644 (file)
 #   ``TRUE`` if the ``tracef()`` API is available in the system's LTTng-UST
 # ``LTTNGUST_HAS_TRACELOG``
 #   ``TRUE`` if the ``tracelog()`` API is available in the system's LTTng-UST
-
-#=============================================================================
-# Copyright 2016 Kitware, Inc.
-# Copyright 2016 Philippe Proulx <pproulx@efficios.com>
 #
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
+# SPDX-FileCopyrightText: 2016 Kitware, Inc.
+# SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
 #
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-# (To distribute this file outside of CMake, substitute the full
-#  License text for the above reference.)
+# SPDX-License-Identifier: BSD-3-Clause
 
 find_path(LTTNGUST_INCLUDE_DIRS NAMES lttng/tracepoint.h)
 # Must also check for the path of generated header files since out-of-tree
index 445d38592c07f93bae0dc981e923083b11eee06c..f8fb29ebd7c2f2820a3f9d6bafc564905b386a71 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/bash
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
 #
 # SPDX-License-Identifier: MIT
 
diff --git a/doc/examples/demo-tracef/README b/doc/examples/demo-tracef/README
deleted file mode 100644 (file)
index af0eadf..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-This is a demo application showing how to trace formatted strings into
-LTTng-UST.
-
-The simplest command to trace the demo program are:
-
-lttng create
-lttng enable-event -u "lttng_ust_tracef:event"
-lttng start
-./demo-tracef
-lttng stop
-lttng view
-lttng destroy
-
-The resulting lttng view output should look like this:
-
-[07:32:02.021045683] (+?.?????????) thinkos lttng_ust:tracef: { cpu_id = 2 }, { _msg_length = 46, msg = "This is a "mystring test" formatted 0 event 42" }
-[07:32:02.021062328] (+0.000016645) thinkos lttng_ust:tracef: { cpu_id = 2 }, { _msg_length = 46, msg = "This is a "mystring test" formatted 1 event 42" }
-[07:32:02.021066300] (+0.000003972) thinkos lttng_ust:tracef: { cpu_id = 2 }, { _msg_length = 46, msg = "This is a "mystring test" formatted 2 event 42" }
-[07:32:02.021069507] (+0.000003207) thinkos lttng_ust:tracef: { cpu_id = 2 }, { _msg_length = 46, msg = "This is a "mystring test" formatted 3 event 42" }
-[07:32:02.021072541] (+0.000003034) thinkos lttng_ust:tracef: { cpu_id = 2 }, { _msg_length = 46, msg = "This is a "mystring test" formatted 4 event 42" }
diff --git a/doc/examples/demo-tracef/README.md b/doc/examples/demo-tracef/README.md
new file mode 100644 (file)
index 0000000..bfbefab
--- /dev/null
@@ -0,0 +1,30 @@
+<!--
+SPDX-FileCopyrightText: 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+This is a demo application showing how to trace formatted strings into
+LTTng-UST.
+
+The simplest command to trace the demo program are:
+
+```
+lttng create
+lttng enable-event -u "lttng_ust_tracef:event"
+lttng start
+./demo-tracef
+lttng stop
+lttng view
+lttng destroy
+```
+
+The resulting lttng view output should look like this:
+
+```
+[07:32:02.021045683] (+?.?????????) thinkos lttng_ust:tracef: { cpu_id = 2 }, { _msg_length = 46, msg = "This is a "mystring test" formatted 0 event 42" }
+[07:32:02.021062328] (+0.000016645) thinkos lttng_ust:tracef: { cpu_id = 2 }, { _msg_length = 46, msg = "This is a "mystring test" formatted 1 event 42" }
+[07:32:02.021066300] (+0.000003972) thinkos lttng_ust:tracef: { cpu_id = 2 }, { _msg_length = 46, msg = "This is a "mystring test" formatted 2 event 42" }
+[07:32:02.021069507] (+0.000003207) thinkos lttng_ust:tracef: { cpu_id = 2 }, { _msg_length = 46, msg = "This is a "mystring test" formatted 3 event 42" }
+[07:32:02.021072541] (+0.000003034) thinkos lttng_ust:tracef: { cpu_id = 2 }, { _msg_length = 46, msg = "This is a "mystring test" formatted 4 event 42" }
+```
diff --git a/doc/examples/demo-tracelog/README b/doc/examples/demo-tracelog/README
deleted file mode 100644 (file)
index 83f259e..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-This is a demo application showing how to trace logging statements into
-LTTng-UST.
-
-The simplest commands to trace the demo program are:
-
-lttng create
-lttng enable-event -u "lttng_ust_tracelog:*"
-lttng start
-./demo-tracelog
-lttng stop
-lttng view
-lttng destroy
-
-The resulting lttng view output should look like this:
-
-[15:54:19.454863179] (+?.?????????) thinkos lttng_ust_tracelog:TRACE_ERR: { cpu_id = 0 }, { line = 45, file = "demo-tracelog.c", func = "main", _msg_length = 17, msg = "Error condition 0" }
-[15:54:19.454871660] (+0.000008481) thinkos lttng_ust_tracelog:TRACE_ERR: { cpu_id = 0 }, { line = 45, file = "demo-tracelog.c", func = "main", _msg_length = 17, msg = "Error condition 1" }
-[15:54:19.454872838] (+0.000001178) thinkos lttng_ust_tracelog:TRACE_ERR: { cpu_id = 0 }, { line = 45, file = "demo-tracelog.c", func = "main", _msg_length = 17, msg = "Error condition 2" }
-[15:54:19.454873541] (+0.000000703) thinkos lttng_ust_tracelog:TRACE_ERR: { cpu_id = 0 }, { line = 45, file = "demo-tracelog.c", func = "main", _msg_length = 17, msg = "Error condition 3" }
-[15:54:19.454874283] (+0.000000742) thinkos lttng_ust_tracelog:TRACE_ERR: { cpu_id = 0 }, { line = 45, file = "demo-tracelog.c", func = "main", _msg_length = 17, msg = "Error condition 4" }
diff --git a/doc/examples/demo-tracelog/README.md b/doc/examples/demo-tracelog/README.md
new file mode 100644 (file)
index 0000000..730834c
--- /dev/null
@@ -0,0 +1,30 @@
+<!--
+SPDX-FileCopyrightText: 2015 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+This is a demo application showing how to trace logging statements into
+LTTng-UST.
+
+The simplest commands to trace the demo program are:
+
+```
+lttng create
+lttng enable-event -u "lttng_ust_tracelog:*"
+lttng start
+./demo-tracelog
+lttng stop
+lttng view
+lttng destroy
+```
+
+The resulting lttng view output should look like this:
+
+```
+[15:54:19.454863179] (+?.?????????) thinkos lttng_ust_tracelog:TRACE_ERR: { cpu_id = 0 }, { line = 45, file = "demo-tracelog.c", func = "main", _msg_length = 17, msg = "Error condition 0" }
+[15:54:19.454871660] (+0.000008481) thinkos lttng_ust_tracelog:TRACE_ERR: { cpu_id = 0 }, { line = 45, file = "demo-tracelog.c", func = "main", _msg_length = 17, msg = "Error condition 1" }
+[15:54:19.454872838] (+0.000001178) thinkos lttng_ust_tracelog:TRACE_ERR: { cpu_id = 0 }, { line = 45, file = "demo-tracelog.c", func = "main", _msg_length = 17, msg = "Error condition 2" }
+[15:54:19.454873541] (+0.000000703) thinkos lttng_ust_tracelog:TRACE_ERR: { cpu_id = 0 }, { line = 45, file = "demo-tracelog.c", func = "main", _msg_length = 17, msg = "Error condition 3" }
+[15:54:19.454874283] (+0.000000742) thinkos lttng_ust_tracelog:TRACE_ERR: { cpu_id = 0 }, { line = 45, file = "demo-tracelog.c", func = "main", _msg_length = 17, msg = "Error condition 4" }
+```
index 69e7d5d2c328ab48faeaf9efe1aec90a78bff4db..f2181f4057fbb919b657167a4702410adcbb2881 100644 (file)
@@ -1,8 +1,6 @@
-/*
- * SPDX-License-Identifier: LGPL-2.1-only
- *
- * Copyright (C) 2020 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
- */
+// SPDX-FileCopyrightText: 2020 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+//
+// SPDX-License-Identifier: LGPL-2.1-only
 
 #include <stdarg.h>
 #include <stdlib.h>
diff --git a/doc/examples/demo/README b/doc/examples/demo/README
deleted file mode 100644 (file)
index 03ee4ee..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-This is a demo application used to test the LTTng userspace tracer.
-
-demo-trace shell script preloads the provider shared objects before
-executing the demo. Executing "demo" without the shell wrapper will not
-provide any tracing support. This ensures the demo binary can be
-distributed on distros without depending on having liblttng-ust.so in
-place. Note: the "demo" program must be compiled with "-ldl" on Linux,
-with "-lc" on BSD.
-
-The simplest command to trace the demo program are:
-lttng create
-lttng enable-event -u -a
-lttng start
-./demo-trace
-lttng destroy
-
-That will create a trace in your $HOME/lttng-traces directory.
-
-The resulting babeltrace output should look like this:
-[554297567999315] ust_tests_demo:starting: { 1 }, { value = 123 }
-[554297568020834] ust_tests_demo2:loop: { 1 }, { intfield = 0, intfield2 = 0x0, longfield = 0, netintfield = 0, netintfieldhex = 0x0, arrfield1 = [ [0] = 1, [1] = 2, [2] = 3 ], arrfield2 = "test", _seqfield1_length = 4, seqfield1 = [ [0] = 116, [1] = 101, [2] = 115, [3] = 116 ], _seqfield2_length = 4, seqfield2 = "test", stringfield = "test", floatfield = 2222, doublefield = 2 }
-[554297568024780] ust_tests_demo2:loop: { 1 }, { intfield = 1, intfield2 = 0x1, longfield = 1, netintfield = 1, netintfieldhex = 0x1, arrfield1 = [ [0] = 1, [1] = 2, [2] = 3 ], arrfield2 = "test", _seqfield1_length = 4, seqfield1 = [ [0] = 116, [1] = 101, [2] = 115, [3] = 116 ], _seqfield2_length = 4, seqfield2 = "test", stringfield = "test", floatfield = 2222, doublefield = 2 }
-[554297568027050] ust_tests_demo2:loop: { 1 }, { intfield = 2, intfield2 = 0x2, longfield = 2, netintfield = 2, netintfieldhex = 0x2, arrfield1 = [ [0] = 1, [1] = 2, [2] = 3 ], arrfield2 = "test", _seqfield1_length = 4, seqfield1 = [ [0] = 116, [1] = 101, [2] = 115, [3] = 116 ], _seqfield2_length = 4, seqfield2 = "test", stringfield = "test", floatfield = 2222, doublefield = 2 }
-[554297568029014] ust_tests_demo2:loop: { 1 }, { intfield = 3, intfield2 = 0x3, longfield = 3, netintfield = 3, netintfieldhex = 0x3, arrfield1 = [ [0] = 1, [1] = 2, [2] = 3 ], arrfield2 = "test", _seqfield1_length = 4, seqfield1 = [ [0] = 116, [1] = 101, [2] = 115, [3] = 116 ], _seqfield2_length = 4, seqfield2 = "test", stringfield = "test", floatfield = 2222, doublefield = 2 }
-[554297568030861] ust_tests_demo2:loop: { 1 }, { intfield = 4, intfield2 = 0x4, longfield = 4, netintfield = 4, netintfieldhex = 0x4, arrfield1 = [ [0] = 1, [1] = 2, [2] = 3 ], arrfield2 = "test", _seqfield1_length = 4, seqfield1 = [ [0] = 116, [1] = 101, [2] = 115, [3] = 116 ], _seqfield2_length = 4, seqfield2 = "test", stringfield = "test", floatfield = 2222, doublefield = 2 }
-[554297568033138] ust_tests_demo:done: { 1 }, { value = 456 }
-[554297568034533] ust_tests_demo3:done: { 1 }, { value = 42 }
diff --git a/doc/examples/demo/README.md b/doc/examples/demo/README.md
new file mode 100644 (file)
index 0000000..7c2cefc
--- /dev/null
@@ -0,0 +1,33 @@
+<!--
+SPDX-FileCopyrightText: 2013 Jérémie Galarneau <jeremie.galarneau@efficios.com>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+This is a demo application used to test the LTTng userspace tracer.
+
+demo-trace shell script preloads the provider shared objects before
+executing the demo. Executing "demo" without the shell wrapper will not
+provide any tracing support. This ensures the demo binary can be
+distributed on distros without depending on having liblttng-ust.so in
+place. Note: the "demo" program must be compiled with "-ldl" on Linux,
+with "-lc" on BSD.
+
+The simplest command to trace the demo program are:
+lttng create
+lttng enable-event -u -a
+lttng start
+./demo-trace
+lttng destroy
+
+That will create a trace in your $HOME/lttng-traces directory.
+
+The resulting babeltrace output should look like this:
+[554297567999315] ust_tests_demo:starting: { 1 }, { value = 123 }
+[554297568020834] ust_tests_demo2:loop: { 1 }, { intfield = 0, intfield2 = 0x0, longfield = 0, netintfield = 0, netintfieldhex = 0x0, arrfield1 = [ [0] = 1, [1] = 2, [2] = 3 ], arrfield2 = "test", _seqfield1_length = 4, seqfield1 = [ [0] = 116, [1] = 101, [2] = 115, [3] = 116 ], _seqfield2_length = 4, seqfield2 = "test", stringfield = "test", floatfield = 2222, doublefield = 2 }
+[554297568024780] ust_tests_demo2:loop: { 1 }, { intfield = 1, intfield2 = 0x1, longfield = 1, netintfield = 1, netintfieldhex = 0x1, arrfield1 = [ [0] = 1, [1] = 2, [2] = 3 ], arrfield2 = "test", _seqfield1_length = 4, seqfield1 = [ [0] = 116, [1] = 101, [2] = 115, [3] = 116 ], _seqfield2_length = 4, seqfield2 = "test", stringfield = "test", floatfield = 2222, doublefield = 2 }
+[554297568027050] ust_tests_demo2:loop: { 1 }, { intfield = 2, intfield2 = 0x2, longfield = 2, netintfield = 2, netintfieldhex = 0x2, arrfield1 = [ [0] = 1, [1] = 2, [2] = 3 ], arrfield2 = "test", _seqfield1_length = 4, seqfield1 = [ [0] = 116, [1] = 101, [2] = 115, [3] = 116 ], _seqfield2_length = 4, seqfield2 = "test", stringfield = "test", floatfield = 2222, doublefield = 2 }
+[554297568029014] ust_tests_demo2:loop: { 1 }, { intfield = 3, intfield2 = 0x3, longfield = 3, netintfield = 3, netintfieldhex = 0x3, arrfield1 = [ [0] = 1, [1] = 2, [2] = 3 ], arrfield2 = "test", _seqfield1_length = 4, seqfield1 = [ [0] = 116, [1] = 101, [2] = 115, [3] = 116 ], _seqfield2_length = 4, seqfield2 = "test", stringfield = "test", floatfield = 2222, doublefield = 2 }
+[554297568030861] ust_tests_demo2:loop: { 1 }, { intfield = 4, intfield2 = 0x4, longfield = 4, netintfield = 4, netintfieldhex = 0x4, arrfield1 = [ [0] = 1, [1] = 2, [2] = 3 ], arrfield2 = "test", _seqfield1_length = 4, seqfield1 = [ [0] = 116, [1] = 101, [2] = 115, [3] = 116 ], _seqfield2_length = 4, seqfield2 = "test", stringfield = "test", floatfield = 2222, doublefield = 2 }
+[554297568033138] ust_tests_demo:done: { 1 }, { value = 456 }
+[554297568034533] ust_tests_demo3:done: { 1 }, { value = 42 }
index e520e9a61707cc25f0063dda347a1de41b5ba05c..d7c86267c3c1aee9c3dae3c310b4af2a8ef6fbdd 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
 #
 # SPDX-License-Identifier: MIT
 
index 52c4a9ebc5df52043a67bf83edfe8780fe1b9c9f..b0b0388ab88a7d4c8bde96667f34cb786af17b23 100644 (file)
@@ -1,9 +1,7 @@
-/*
- * SPDX-License-Identifier: MIT
- *
- * Copyright (C) 2011-2012 Matthew Khouzam <matthew.khouzam@ericsson.com>
- * Copyright (C) 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
- */
+// SPDX-FileCopyrightText: 2011-2012 Matthew Khouzam <matthew.khouzam@ericsson.com>
+// SPDX-FileCopyrightText: 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+//
+// SPDX-License-Identifier: MIT
 
 #include <unistd.h>
 
index 47462415c9ec8cb61c705547c0e0e605f9b5d677..2f548f6cef30c49abe3cb86889cc8fc3661d2064 100644 (file)
@@ -1,3 +1,8 @@
+// SPDX-FileCopyrightText: 2011-2012 Matthew Khouzam <matthew.khouzam@ericsson.com>
+// SPDX-FileCopyrightText: 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+//
+// SPDX-License-Identifier: MIT
+
 LTTNG_UST_TRACEPOINT_EVENT(
        sample_tracepoint,
        message, // C++ Style comment
diff --git a/doc/examples/getcpu-override/README b/doc/examples/getcpu-override/README
deleted file mode 100644 (file)
index 05c8e32..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-This getcpu override example shows how to implement and load a getcpu
-override plugin for LTTng-UST. This can be useful in cases where direct
-hardware access is available for architecture-specific registers holding
-the CPU number, and where it should be used rather than the Linux kernel
-sched_getcpu() vDSO/syscall.
diff --git a/doc/examples/getcpu-override/README.md b/doc/examples/getcpu-override/README.md
new file mode 100644 (file)
index 0000000..9dc19be
--- /dev/null
@@ -0,0 +1,11 @@
+<!--
+SPDX-FileCopyrightText: 2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+This getcpu override example shows how to implement and load a getcpu
+override plugin for LTTng-UST. This can be useful in cases where direct
+hardware access is available for architecture-specific registers holding
+the CPU number, and where it should be used rather than the Linux kernel
+sched_getcpu() vDSO/syscall.
index a418fc47d528a9e307e2a15593598f45687e75d3..ac6227d71de7a83a70a34abdf5b586858e7677f8 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
 #
 # SPDX-License-Identifier: MIT
 
diff --git a/doc/examples/hello-static-lib/README b/doc/examples/hello-static-lib/README
deleted file mode 100644 (file)
index abb056f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-This is a "hello world" application used to verify that an instrumented
-program can be built successfully and linked with tracepoint providers
-built as a separate static library.
diff --git a/doc/examples/hello-static-lib/README.md b/doc/examples/hello-static-lib/README.md
new file mode 100644 (file)
index 0000000..83e7ecf
--- /dev/null
@@ -0,0 +1,9 @@
+<!--
+SPDX-FileCopyrightText: 2013 Jérémie Galarneau <jeremie.galarneau@efficios.com>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+This is a "hello world" application used to verify that an instrumented
+program can be built successfully and linked with tracepoint providers
+built as a separate static library.
diff --git a/doc/examples/java-jul/README b/doc/examples/java-jul/README
deleted file mode 100644 (file)
index d8998b6..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-Type "make" to compile and use "./run" to start the example.
-
-The Hello.java file contains a lot of useful information in order to instrument
-your application.
-
-The "run" file shows you how to link your Java application with the LTTng UST
-JUL library.
diff --git a/doc/examples/java-jul/README.md b/doc/examples/java-jul/README.md
new file mode 100644 (file)
index 0000000..f90b062
--- /dev/null
@@ -0,0 +1,13 @@
+<!--
+SPDX-FileCopyrightText: 2013 David Goulet <dgoulet@efficios.com>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+Type `make` to compile and use `./run` to start the example.
+
+The `Hello.java` file contains a lot of useful information in order to
+instrument your application.
+
+The `./run` file shows you how to link your Java application with the LTTng UST
+JUL library.
index feaa23624791dbf789574fea534adf7872458889..19a279fcb7a206231f604e070190fa1e3794d997 100755 (executable)
@@ -1,6 +1,9 @@
 #!/bin/bash
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
 #
 # SPDX-License-Identifier: MIT
+
 #
 # The -cp path should be changed to the lttng ust JUL jar file on your system
 # or locally to the project. Same goes for the Java library path in order to
index c153e7b848569dc713b53051ad93d7ecbfc59587..f03271a9afc0016ed7f30d69866eff7721322fe0 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/bash
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
 #
 # SPDX-License-Identifier: MIT
 
index 6e5fb83eaf95a0649c820413f5331a230fa981e1..d73bd193721e692e997265a4b74291fac283989c 100644 (file)
@@ -1,4 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+SPDX-FileCopyrightText: 2023 EfficiOS, Inc.
+
+SPDX-License-Identifier: LGPL-2.1-or-later
+-->
+
 <Configuration status="WARN">
   <Appenders>
     <Console name="Console" target="SYSTEM_OUT">
index 4d9f25fb197b750d9b6e181e1df0e5207c2b6f82..662c6ef973b61baaf532ef3c2bc96ff6e0b07f6f 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/bash
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
 #
 # SPDX-License-Identifier: MIT
 
index 5606e452dbd5322a5d3a777a589cf531cd0ae267..90855e8c8d792e73e6a3770b94755dfd8b2977ca 100644 (file)
@@ -1,4 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+SPDX-FileCopyrightText: 2023 EfficiOS, Inc.
+
+SPDX-License-Identifier: LGPL-2.1-or-later
+-->
+
 <Configuration name="Context1" status="WARN">
   <Appenders>
     <Console name="Console" target="SYSTEM_OUT">
index 003ae105bd365f2ac8b1f8af847a771ec39e7e49..bb7a0809f6ac68a349a927e1c8e9b3884ff0a107 100644 (file)
@@ -1,4 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+SPDX-FileCopyrightText: 2023 EfficiOS, Inc.
+
+SPDX-License-Identifier: LGPL-2.1-or-later
+-->
+
 <Configuration name="Context2" status="WARN">
   <Appenders>
     <Console name="Console" target="SYSTEM_OUT">
index 5aae3240efc1b6518366ebfe31c6423e4e3e9e6a..cd0c57b8f12162d116ba2d95256962cb35543005 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/bash
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
 #
 # SPDX-License-Identifier: MIT
 
index 8f4e81ddba5efd3502ab56efce5718a2f090fe36..4e4244da55334a27d1350abb8c8316a8f9ace951 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/bash
+
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
 #
 # SPDX-License-Identifier: MIT
 
index dd96e269b9467533a9fa9782f5124293ed2af546..421b5af7540ce1ef1d5500a59f63dbca269d293c 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+#
 # SPDX-License-Identifier: MIT
 
 import lttngust
diff --git a/doc/java-agent.md b/doc/java-agent.md
new file mode 100644 (file)
index 0000000..dabddf0
--- /dev/null
@@ -0,0 +1,129 @@
+<!--
+SPDX-FileCopyrightText: 2014 Christian Babeux <christian.babeux@efficios.com>
+SPDX-FileCopyrightText: 2015 Alexandre Montplaisir <alexmonthy@efficios.com>
+SPDX-FileCopyrightText: 2022 Michael Jeanson <mjeanson@efficios.com>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+# Using the Java agent
+
+The agent can be built in three different configurations:
+
+1) Java agent with JUL support:
+
+    $ ./configure --enable-java-agent-jul
+
+2) Java agent with Log4j 1.x support (deprecated):
+
+    $ export CLASSPATH=$CLASSPATH:/path/to/log4j.jar
+    $ ./configure --enable-java-agent-log4j
+
+3) Java agent with Log4j 2.x support:
+
+    $ export CLASSPATH=$CLASSPATH:/path/to/log4j-core.jar:/path/to/log4j-api.jar
+    $ ./configure --enable-java-agent-log4j2
+
+4) Java agent with JUL + Log4j 1.x + Log4j 2.x support
+
+    $ export CLASSPATH=$CLASSPATH:/path/to/log4j.jar:/path/to/log4j-core.jar:/path/to/log4j-api.jar
+    $ ./configure --enable-java-agent-all
+
+To build the agent with log4j support, make sure that the log4j jar
+is in your Java classpath.
+
+The configure script will automatically detect the appropriate Java
+binaries to use in order to build the Java agent.
+
+Enabling the JUL support will build a `lttng-ust-agent-jul.jar` file. Enabling
+the log4j 1.x support will build a `lttng-ust-agent-log4j.jar` and enabling
+log4j 2.x support will build a `lttng-ust-agent-log4j2.jar`. All of these jars
+depend on a fourth `lttng-ust-agent-common.jar`, which will always be built.
+
+All these archives will be installed in the arch-agnostic `$prefix/share/java`
+path, e.g: `/usr/share/java`. You need to make sure the .jar for the logging
+API you want to use (either `lttng-ust-agent-jul.jar`,
+`lttng-ust-agent-log4j.jar` or `lttng-ust-agent-log4j2.jar`) is on your
+application's classpath.
+
+The logging libraries require an architecture-specific shared object,
+`liblttng-ust-jul-jni.so` for JUL and `liblttng-ust-jul-log4j.so` for both
+Log4j 1.x and 2.x, which are installed by the build system when doing `make
+install`. Make sure that your Java application can find this shared object, by
+using the `java.library.path` property if necessary.
+
+In order to use UST tracing in your Java application, you simply need to
+instantiate a `LttngLogHandler` or a `LttngLogAppender` (for JUL or Log4j,
+respectively), then attach it to a JUL or Log4j Logger class.
+
+Refer to the code examples in `examples/java-jul/`, `examples/java-log4j/` and
+`examples/java-log4j2-*/`.
+
+LTTng session daemon agents will be initialized as needed. If no session daemon
+is available, the execution will continue and the agents will retry connecting
+every 3 seconds.
+
+
+# Object model
+
+The object model of the Java agent implementation is as follows:
+
+## Ownership
+
+Log Handlers: LttngLogHandler, LttngLogAppender
+  n handlers/appenders, managed by the application.
+  Can be created programmatically, or via a configuration file,
+  Each one registers to a specific agent singleton (one per logging API) that is loaded on-demand
+
+Agent singletons: LttngJulAgent, LttngLog4jAgent
+  Keep track of all handlers/appenders registered to them.
+  Are disposed when last handler deregisters.
+  Each agent instantiates 2 TCP clients, one for the root session daemon, one for the user one.
+  One type of TCP client class for now. TCP client may become a singleton in the future.
+
+## Control
+
+Messages come from the session daemon through the socket connection.
+Agent passes back-reference to itself to the TCP clients.
+Clients use this reference to invoke callbacks, which modify the state of the agent (enabling/disabling events, etc.)
+
+## Data path
+
+Log messages are generated by the application and sent to the Logger objects,
+which then send them to the Handlers.
+
+When a log event is received by a Handler (publish(LogRecord)), the handler
+checks with the agent if it should log it or not, via
+ILttngAgent#isEventEnabled() for example.
+
+Events that are logged call the native tracepoint through JNI, which generates
+a UST event. There is one type of tracepoint per domain (Jul or Logj4).
+
+## Filtering notifications
+
+FilterChangeNotifier is the singleton notifier class.
+Applications implement an IFilterChangeListener, and register it to the notifier.
+
+Whenever new event rules are enabled or disabled, the relevant agent informs the
+notifier, which then sends notifications to all registered listeners by invoking
+their callbacks.
+
+Upon registration, a new listener will receive notifications for all currently
+active rules.
+
+The notifier keeps track of its own event rule refcounting, to handle the case
+of multiple sessions or multiple agents enabling identical event rules.
+
+The FilterChangeNotifier does not have threads of its own. The listeners's
+callbacks will be invoked by these threads:
+* In the case of a notification being received while a listener is already
+  registered, the callback is executed by the TCP client's thread. This
+  effectively blocks the "lttng" command line until all callbacks are processed
+  (assuming no timeouts).
+* In the case of a listener registering and receiving the currently-active
+  rules, the callbacks will be executed by the application's thread doing the
+  registerListener() call.
+
+The notifier is entirely synchronized. This ensure that if a rule is enabled
+at the same time a listener is registered, that listener does not miss or
+receive duplicate notifications.
diff --git a/doc/java-agent.txt b/doc/java-agent.txt
deleted file mode 100644 (file)
index a7612a6..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
-======================
- Using the Java agent
-======================
-
-The agent can be built in three different configurations:
-
-1) Java agent with JUL support:
-
-$ ./configure --enable-java-agent-jul
-
-2) Java agent with Log4j 1.x support (deprecated):
-
-$ export CLASSPATH=$CLASSPATH:/path/to/log4j.jar
-$ ./configure --enable-java-agent-log4j
-
-3) Java agent with Log4j 2.x support:
-
-$ export CLASSPATH=$CLASSPATH:/path/to/log4j-core.jar:/path/to/log4j-api.jar
-$ ./configure --enable-java-agent-log4j2
-
-4) Java agent with JUL + Log4j 1.x + Log4j 2.x support
-
-$ export CLASSPATH=$CLASSPATH:/path/to/log4j.jar:/path/to/log4j-core.jar:/path/to/log4j-api.jar
-$ ./configure --enable-java-agent-all
-
-To build the agent with log4j support, make sure that the log4j jar
-is in your Java classpath.
-
-The configure script will automatically detect the appropriate Java
-binaries to use in order to build the Java agent.
-
-Enabling the JUL support will build a "lttng-ust-agent-jul.jar" file. Enabling
-the log4j 1.x support will build a "lttng-ust-agent-log4j.jar" and enabling
-log4j 2.x support will build a "lttng-ust-agent-log4j2.jar". All of these jars
-depend on a third "lttng-ust-agent-common.jar", which will always be built.
-
-All these archives will be installed in the arch-agnostic "$prefix/share/java"
-path, e.g: "/usr/share/java". You need to make sure the .jar for the logging
-API you want to use (either "lttng-ust-agent-jul.jar",
-"lttng-ust-agent-log4j.jar" or "lttng-ust-agent-log4j2.jar") is on your
-application's classpath.
-
-The logging libraries require an architecture-specific shared object,
-"liblttng-ust-jul-jni.so" for JUL and "liblttng-ust-jul-log4j.so" for both
-Log4j 1.x and 2.x, which are installed by the build system when doing "make
-install". Make sure that your Java application can find this shared object, by
-using the "java.library.path" property if necessary.
-
-In order to use UST tracing in your Java application, you simply need to
-instantiate a LttngLogHandler or a LttngLogAppender (for JUL or Log4j,
-respectively), then attach it to a JUL or Log4j Logger class.
-
-Refer to the code examples in "examples/java-jul/", "examples/java-log4j/" and
-"examples/java-log4j2-*/".
-
-LTTng session daemon agents will be initialized as needed. If no session daemon
-is available, the execution will continue and the agents will retry connecting
-every 3 seconds.
-
-
-==============
- Object model
-==============
-
-The object model of the Java agent implementation is as follows:
-
----------
-Ownership
----------
-Log Handlers: LttngLogHandler, LttngLogAppender
-  n handlers/appenders, managed by the application.
-  Can be created programmatically, or via a configuration file,
-  Each one registers to a specific agent singleton (one per logging API) that is loaded on-demand
-
-Agent singletons: LttngJulAgent, LttngLog4jAgent
-  Keep track of all handlers/appenders registered to them.
-  Are disposed when last handler deregisters.
-  Each agent instantiates 2 TCP clients, one for the root session daemon, one for the user one.
-  One type of TCP client class for now. TCP client may become a singleton in the future.
-
--------
-Control
--------
-Messages come from the session daemon through the socket connection.
-Agent passes back-reference to itself to the TCP clients.
-Clients use this reference to invoke callbacks, which modify the state of the agent (enabling/disabling events, etc.)
-
----------
-Data path
----------
-Log messages are generated by the application and sent to the Logger objects,
-which then send them to the Handlers.
-
-When a log event is received by a Handler (publish(LogRecord)), the handler
-checks with the agent if it should log it or not, via
-ILttngAgent#isEventEnabled() for example.
-
-Events that are logged call the native tracepoint through JNI, which generates
-a UST event. There is one type of tracepoint per domain (Jul or Logj4).
-
------------------------
-Filtering notifications
------------------------
-FilterChangeNotifier is the singleton notifier class.
-Applications implement an IFilterChangeListener, and register it to the notifier.
-
-Whenever new event rules are enabled or disabled, the relevant agent informs the
-notifier, which then sends notifications to all registered listeners by invoking
-their callbacks.
-
-Upon registration, a new listener will receive notifications for all currently
-active rules.
-
-The notifier keeps track of its own event rule refcounting, to handle the case
-of multiple sessions or multiple agents enabling identical event rules.
-
-The FilterChangeNotifier does not have threads of its own. The listeners's
-callbacks will be invoked by these threads:
-* In the case of a notification being received while a listener is already
-  registered, the callback is executed by the TCP client's thread. This
-  effectively blocks the "lttng" command line until all callbacks are processed
-  (assuming no timeouts).
-* In the case of a listener registering and receiving the currently-active
-  rules, the callbacks will be executed by the application's thread doing the
-  registerListener() call.
-
-The notifier is entirely synchronized. This ensure that if a rule is enabled
-at the same time a listener is registered, that listener does not miss or
-receive duplicate notifications.
index b3c8709d5ead1f2a4f931ef7e0822e121bb0f7c7..a2f41b2c5d97cbdfde6f2e91c6a6a602946e4904 100644 (file)
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+#
+# SPDX-License-Identifier: CC-BY-4.0
+
 [macros]
 
 # man macro
index fe1ccb09d522310ccb277bf05354ae0692109c31..0fb90858bf803013097dd400597ee0b5f6b36f1e 100644 (file)
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+// SPDX-License-Identifier: CC-BY-4.0
+//
 AUTHORS
 -------
 LTTng-UST was originally written by Mathieu Desnoyers, with additional
index 0203fb8661be3e2c11967152fe5cf6f9d957cb55..5e436e579d5def581ca30eba2eb16517844a637f 100644 (file)
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+// SPDX-License-Identifier: CC-BY-4.0
+//
 COPYRIGHTS
 ----------
 This {object-type} is part of the LTTng-UST project.
index b98be71ece79879ea1ecd964360067aaf2041d03..c251c7ffbf8e8871528a62a9456e9a7db5b0ff36 100644 (file)
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+// SPDX-License-Identifier: CC-BY-4.0
+//
 include::common-footer.txt[]
 
 
index 2d78c589b35753de5168a686f87e5bdbff0df99e..6f1848e3d8bb584ff6a541b3439e9bcbdaf94288 100644 (file)
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+// SPDX-License-Identifier: CC-BY-4.0
+//
 BUGS
 ----
 If you encounter any issue or usability problem, please report it on the
index afb50be91714a7047e9e783062f0b7d9247463c0..047497037e9bdd351b61a2a5cc49ef8e9c5057ea 100644 (file)
@@ -1 +1,3 @@
+.\" SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+.\" SPDX-License-Identifier: CC-BY-4.0
 .so man3/lttng-ust.3
index 392c6cb42b3b03faf0751bd19a050e41c9fe30f3..c83e6692fbbc4e074a07c9ae9b33d0b959181e82 100644 (file)
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+// SPDX-License-Identifier: CC-BY-4.0
+//
 `LTTNG_UST_TRACEPOINT_LOGLEVEL_EMERG`::
     System is unusable.
 
index 969a1e318327625823fe3b5199fe005e5972d564..41284c7e4c2c247a4bd34de950effb12fd9795ce 100644 (file)
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+// SPDX-License-Identifier: CC-BY-4.0
+//
 lttng-gen-tp(1)
 ===============
 :object-type: program
index 73aac26c7de75f8ca7d2a2affbc0e9bf4a0e266a..51d03e4acf3d0da724325aff1486dfd2d8523667 100644 (file)
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+// SPDX-License-Identifier: CC-BY-4.0
+//
 lttng-ust-cyg-profile(3)
 ========================
 :object-type: library
index 4654ca5719dea81efcdcada5f83f7228e0021057..c5971b92c78f4eeac7c8e7ad3a37cc28598edc1a 100644 (file)
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+// SPDX-License-Identifier: CC-BY-4.0
+//
 lttng-ust-dl(3)
 ===============
 :object-type: library
index 0924a4de2dc7d65c411951293598ab0baafd22e6..ad1fbbf4bd2a081d26fe3c1ddeccd654ac24c11e 100644 (file)
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+// SPDX-License-Identifier: CC-BY-4.0
+//
 lttng-ust(3)
 ============
 :object-type: library
index afb50be91714a7047e9e783062f0b7d9247463c0..047497037e9bdd351b61a2a5cc49ef8e9c5057ea 100644 (file)
@@ -1 +1,3 @@
+.\" SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+.\" SPDX-License-Identifier: CC-BY-4.0
 .so man3/lttng-ust.3
index e103c12a454366c27877f0ebb46f773f14bcadef..bb66f8aa81e4d760f29e63ca44f89cfa5aef580a 100644 (file)
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+// SPDX-License-Identifier: CC-BY-4.0
+//
 lttng_ust_tracef(3)
 ===================
 :object-type: macro
index 760ac8a4c125b73d335e88adfc4c616d4b7e3420..1108feee603829368a4c3c596239416dd2e216a0 100644 (file)
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+// SPDX-License-Identifier: CC-BY-4.0
+//
 lttng_ust_tracelog(3)
 =====================
 :object-type: macro
index afb50be91714a7047e9e783062f0b7d9247463c0..047497037e9bdd351b61a2a5cc49ef8e9c5057ea 100644 (file)
@@ -1 +1,3 @@
+.\" SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+.\" SPDX-License-Identifier: CC-BY-4.0
 .so man3/lttng-ust.3
index afb50be91714a7047e9e783062f0b7d9247463c0..047497037e9bdd351b61a2a5cc49ef8e9c5057ea 100644 (file)
@@ -1 +1,3 @@
+.\" SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+.\" SPDX-License-Identifier: CC-BY-4.0
 .so man3/lttng-ust.3
index d576e1406b7aae13b8ff9d094a024e5867618c1d..5888967be9e3b73ade650637ae9188c2dc5cc04a 100644 (file)
@@ -1,4 +1,11 @@
 <?xml version='1.0'?>
+
+<!--
+SPDX-FileCopyrightText: 2017 Philippe Proulx <pproulx@efficios.com>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
 <xsl:stylesheet version="1.0"
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     <!-- callouts -->
index c5bb6babc53118781825d59163992dfc33d7ab4e..a10eac571e5dcb5d92f81bba0bf19842128519a9 100644 (file)
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+// SPDX-License-Identifier: CC-BY-4.0
+//
 :macro-name: lttng_ust_{macro-suffix}
 :vmacro-name: lttng_ust_v{macro-suffix}
 
index 165e7261913f245f5d682c336dde369714c43a1d..7a39e668c81c353e72e85746d8535c20726fe9d7 100644 (file)
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+// SPDX-License-Identifier: CC-BY-4.0
+//
 tracef(3)
 =========
 :object-type: macro
index 5f1603b9ca2e683d08ac07325cf3e48003a9d5f7..3c071d3779140da402cbf3cb9882f933d299be4e 100644 (file)
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+// SPDX-License-Identifier: CC-BY-4.0
+//
 tracelog(3)
 ===========
 :object-type: macro
index afb50be91714a7047e9e783062f0b7d9247463c0..047497037e9bdd351b61a2a5cc49ef8e9c5057ea 100644 (file)
@@ -1 +1,3 @@
+.\" SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+.\" SPDX-License-Identifier: CC-BY-4.0
 .so man3/lttng-ust.3
index afb50be91714a7047e9e783062f0b7d9247463c0..047497037e9bdd351b61a2a5cc49ef8e9c5057ea 100644 (file)
@@ -1 +1,3 @@
+.\" SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com>
+.\" SPDX-License-Identifier: CC-BY-4.0
 .so man3/lttng-ust.3
diff --git a/doc/python-agent.md b/doc/python-agent.md
new file mode 100644 (file)
index 0000000..aee6326
--- /dev/null
@@ -0,0 +1,17 @@
+<!--
+SPDX-FileCopyrightText: 2015 Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
+# Using the python agent
+
+To build the agent:
+
+    $ ./configure --enable-python-agent
+
+The configure script is set to look for the first python version >= 2.7.
+To build the agent against another version of python:
+
+    $ export PYTHON=<python path>
+    $ ./configure --enable-python-agent
diff --git a/doc/python-agent.txt b/doc/python-agent.txt
deleted file mode 100644 (file)
index 61ae4d0..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-======================
- Using the python agent
-======================
-
-To build the agent:
-
-$ ./configure --enable-python-agent
-
-The configure script is set to look for the first python version >= 2.7.
-To build the agent against another version of python:
-
-$ export PYTHON=<python path>
-$ ./configure --enable-python-agent
This page took 0.046474 seconds and 4 git commands to generate.