lttng-tools: 2.15.1 -> 2.16.0
PATCH v2 1/1 lttng-tools: 2.15.1 -> 2.16.0
Changes needed for the new release:
* Drop the libc++ patch which was fixed upstream slightly differently.
* Add a dependency for ptests on python3-sqlite3.
* Update the tests patches and files needed to run the ptests to match the new release.
License-Update: Upstream added SPDX identifiers and things are much more comprehensively covered, LICENSE is updated to match with autoconf macros, docs licenses and vendored libs included.
Signed-off-by Richard Purdie <[email protected]>
---
...static.m4-do-not-write-generation-da.patch | 2 +-
...-tests-do-not-strip-a-helper-library.patch | 5 +-
.../lttng/lttng-tools/disable-tests.patch | 22 ++-
.../lttng/lttng-tools/disable-tests2.patch | 26 ++--
.../lttng/lttng-tools/libc++.patch | 59 --------
.../lttng/lttng-tools/muslfix.patch | 130 ++++++++++++++++++
...-tools_2.15.1.bb => lttng-tools_2.16.0.bb} | 31 +++--
7 files changed, 178 insertions(+), 97 deletions(-)
delete mode 100644 meta/recipes-kernel/lttng/lttng-tools/libc++.patch
create mode 100644 meta/recipes-kernel/lttng/lttng-tools/muslfix.patch
rename meta/recipes-kernel/lttng/{lttng-tools_2.15.1.bb => lttng-tools_2.16.0.bb} (82%)meta/recipes-kernel/lttng/lttng-tools/0001-m4-ax_am_macros_static.m4-do-not-write-generation-da.patch +1 -1
@@ -1,4 +1,4 @@ -From c58eed85e47a605e2a9f2b2bc91917f68bec023f Mon Sep 17 00:00:00 2001 +From 2e7fab06b2ede001dead4129e19d0793b5c367a6 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <[email protected]> Date: Thu, 18 Jun 2026 16:48:40 +0200 Subject: [PATCH] m4/ax_am_macros_static.m4: do not write generation date into
meta/recipes-kernel/lttng/lttng-tools/0001-tests-do-not-strip-a-helper-library.patch +1 -4
@@ -1,4 +1,4 @@ -From 8e56c9b414b60db1a14ea8ca664e2cff941ae14d Mon Sep 17 00:00:00 2001 +From 1f305930a0e0660bf489ff408d4dedbddc82be0f Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <[email protected]> Date: Wed, 17 Jun 2026 10:04:13 +0200 Subject: [PATCH] tests: do not strip a helper library
@@ -22,6 +22,3 @@ index 131a4af..38ce076 100644 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ for script in $(TEST_DEPS); do \ if [ x"$$(dirname $$script)" != x"." ]; then \ --- -2.47.3 -
meta/recipes-kernel/lttng/lttng-tools/disable-tests.patch +10 -12
@@ -1,4 +1,4 @@ -From 44c14ba25747ccee72667212003658447d8297ae Mon Sep 17 00:00:00 2001 +From e8d2d5778d3bfc697b7b0f5d9136f5be752f848b Mon Sep 17 00:00:00 2001 From: Richard Purdie <[email protected]> Date: Tue, 14 Dec 2021 12:34:04 +0000 Subject: [PATCH] lttng-tools: Disable problem tests
@@ -17,27 +17,25 @@ Signed-off-by: Richard Purdie <[email protected]> tests/regression/Makefile.am | 13 ------------- 1 file changed, 13 deletions(-) -diff --git a/tests/regression/Makefile.am b/tests/regression/Makefile.am -index 6730ff9..a7cd133 100644 ---- a/tests/regression/Makefile.am -+++ b/tests/regression/Makefile.am -@@ -46,19 +46,6 @@ SERIAL_TESTS = tools/base-path/test_ust \ +Index: lttng-tools-2.16.0/tests/regression/Makefile.am +=================================================================== +--- lttng-tools-2.16.0.orig/tests/regression/Makefile.am ++++ lttng-tools-2.16.0/tests/regression/Makefile.am +@@ -56,17 +56,6 @@ SERIAL_TESTS = tools/base-path/test_ust tools/regen-metadata/test_ust \ tools/regen-statedump/test_kernel \ tools/regen-statedump/test_ust \ - tools/notification/test_notification_ust_error \ -- tools/notification/test_notification_ust_buffer_usage \ - tools/notification/test_notification_ust_capture \ - tools/notification/test_notification_ust_event_rule_condition_exclusion \ - tools/notification/test_notification_kernel_error \ -- tools/notification/test_notification_kernel_buffer_usage \ +- tools/notification/test_notification_kernel_buffer_usage.py \ - tools/notification/test_notification_kernel_capture \ - tools/notification/test_notification_kernel_instrumentation \ +- tools/notification/test_notification_kernel_multi_app.py \ +- tools/notification/test_notification_kernel_notifier_discarded_count.py \ - tools/notification/test_notification_kernel_syscall \ -- tools/notification/test_notification_notifier_discarded_count \ - tools/notification/test_notification_kernel_userspace_probe \ -- tools/notification/test_notification_multi_app \ -- tools/notification/test_rotation \ + tools/notification/test_rotation \ tools/rotation/test_ust \ tools/rotation/test_kernel \ - tools/rotation/test_ust_kernel \
meta/recipes-kernel/lttng/lttng-tools/disable-tests2.patch +13 -13
@@ -1,4 +1,4 @@ -From 16890a3395d62e760ce11c3c5e1b7323e1b79b46 Mon Sep 17 00:00:00 2001 +From f4ee2586a314368b1789a9ccfd3beedfdc496078 Mon Sep 17 00:00:00 2001 From: Richard Purdie <[email protected]> Date: Tue, 19 Aug 2025 10:09:07 +0100 Subject: [PATCH] lttng-tools: Disable slow tests to fix ptest runs
@@ -13,11 +13,11 @@ Signed-off-by: Richard Purdie <[email protected]> tests/regression/Makefile.am | 3 --- 1 file changed, 3 deletions(-) -diff --git a/tests/regression/Makefile.am b/tests/regression/Makefile.am -index a7cd133..b5a25eb 100644 ---- a/tests/regression/Makefile.am -+++ b/tests/regression/Makefile.am -@@ -30,7 +30,6 @@ SERIAL_TESTS = tools/base-path/test_ust \ +Index: lttng-tools-2.16.0/tests/regression/Makefile.am +=================================================================== +--- lttng-tools-2.16.0.orig/tests/regression/Makefile.am ++++ lttng-tools-2.16.0/tests/regression/Makefile.am +@@ -38,7 +38,6 @@ SERIAL_TESTS = tools/base-path/test_ust tools/tracefile-limits/test_tracefile_count \ tools/tracefile-limits/test_tracefile_size \ tools/exclusion/test_exclusion \
@@ -25,18 +25,18 @@ index a7cd133..b5a25eb 100644 tools/snapshots/test_ust_fast \ tools/snapshots/test_ust_long \ tools/snapshots/test_ust_streaming \ -@@ -53,7 +52,6 @@ SERIAL_TESTS = tools/base-path/test_ust \ +@@ -64,7 +63,6 @@ SERIAL_TESTS = tools/base-path/test_ust tools/rotation/test_schedule_api \ tools/metadata/test_kernel \ tools/working-directory/test_relayd_working_directory \ - tools/clear/test_kernel \ - tools/clear/test_live_hang.py \ tools/tracker/test_event_tracker \ - tools/trigger/start-stop/test_start_stop \ -@@ -66,7 +64,6 @@ SERIAL_TESTS = tools/base-path/test_ust \ - tools/trace-format/test_trace_format_kernel.py - - TESTS = tools/clear/test_disallow.py \ + tools/trigger/test_add_trigger_cli \ + tools/trigger/test_list_triggers_cli \ +@@ -94,7 +92,6 @@ TESTS = tools/network/test_network.py \ + tools/map/test_user_map_channel_integration.py \ + tools/clear/test_disallow.py \ + tools/clear/test_live_hang.py \ - tools/clear/test_ust.py \ tools/clear/test_ust_multi_user.py \ tools/live/test_early_inactive_app.py \
meta/recipes-kernel/lttng/lttng-tools/libc++.patch deleted +0 -59
59 lines not on this page · raw message
meta/recipes-kernel/lttng/lttng-tools/muslfix.patch new file +130 -0
130 lines not on this page · raw message
meta/recipes-kernel/lttng/lttng-tools_2.16.0.bb renamed from meta/recipes-kernel/lttng/lttng-tools_2.15.1.bb +23 -8
@@ -5,10 +5,22 @@ to extract program execution details from the Linux operating system \ and interpret them." HOMEPAGE = "https://github.com/lttng/lttng-tools" -LICENSE = "GPL-2.0-only AND LGPL-2.1-only" -LIC_FILES_CHKSUM = "file://LICENSE;md5=40ef17463fbd6f377db3c47b1cbaded8 \ - file://LICENSES/GPL-2.0;md5=e68f69a54b44ba526ad7cb963e18fbce \ - file://LICENSES/LGPL-2.1;md5=9920968d0f2ff585ce61fae30344dd95" +LICENSE = "BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND CC0-1.0 AND CC-BY-SA-4.0 AND FSFAP AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-2.0-or-later WITH Autoconf-exception-2.0 AND GPL-2.0-or-later WITH Autoconf-exception-macro AND LGPL-2.1-only AND LGPL-2.1-or-later AND MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f7adf214dab700ec91b393898b515f13 \ + file://LICENSES/BSD-2-Clause.txt;md5=5d6306d1b08f8df623178dfd81880927 \ + file://LICENSES/BSD-3-Clause.txt;md5=4e91b9e6ef320f74590c8c7a64a9188a \ + file://LICENSES/BSL-1.0.txt;md5=4415c1f5128c6d51273f9c8362305778 \ + file://LICENSES/CC0-1.0.txt;md5=65d3616852dbf7b1a6d4b53b00626032 \ + file://LICENSES/CC-BY-SA-4.0.txt;md5=62ccd6e67b4925bbb3063925cd0e57e5 \ + file://LICENSES/FSFAP.txt;md5=232368338ef6dc99de71c2e05ff12176 \ + file://LICENSES/GPL-2.0-only.txt;md5=3d26203303a722dedc6bf909d95ba815 \ + file://LICENSES/GPL-2.0-or-later.txt;md5=3d26203303a722dedc6bf909d95ba815 \ + file://LICENSES/GPL-3.0-or-later.txt;md5=75d892af193fd5a298f724c4377d8f62 \ + file://LICENSES/LGPL-2.1-only.txt;md5=41890f71f740302b785c27661123bff5 \ + file://LICENSES/LGPL-2.1-or-later.txt;md5=41890f71f740302b785c27661123bff5 \ + file://LICENSES/MIT.txt;md5=e8f57dd048e186199433be2c41bd3d6d \ + file://LICENSES/Autoconf-exception-2.0.txt;md5=13a739a6793bb6742c30b1d3727df7e2 \ + file://LICENSES/Autoconf-exception-macro.txt;md5=887fe9d860687d5c7602a5d8ab978171" include lttng-platforms.inc
@@ -28,6 +40,7 @@ RDEPENDS:${PN}-ptest += "perl-module-getopt-long \ python3-json \ python3-io \ python3-shell \ + python3-sqlite3 \ python3-xml \ python3-resource \ "
@@ -50,11 +63,11 @@ SRC_URI = "https://lttng.org/files/lttng-tools/lttng-tools-${PV}.tar.bz2 \ file://lttng-sessiond.service \ file://disable-tests.patch \ file://disable-tests2.patch \ - file://libc++.patch \ file://0001-m4-ax_am_macros_static.m4-do-not-write-generation-da.patch \ + file://muslfix.patch \ " -SRC_URI[sha256sum] = "8b6d4ba7ae2c036f7dafbb4e29717677411078f9a9d961b2dc7c1ba16273e9e9" +SRC_URI[sha256sum] = "b8b3244894e49e773d4942b8899f768057974edf75c18dbb48b65bb123c7b2c7" inherit autotools ptest pkgconfig useradd python3-dir manpages systemd upstream-stable-release-point
@@ -69,7 +82,8 @@ USERADD_PACKAGES = "${PN}" GROUPADD_PARAM:${PN} = "tracing" FILES:${PN} += "${libdir}/lttng/libexec/* ${datadir}/xml/lttng \ - ${PYTHON_SITEPACKAGES_DIR}/*" + ${PYTHON_SITEPACKAGES_DIR}/* \ + ${libdir}/lttng/libtpp*" FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a" FILES:${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/*.la"
@@ -89,6 +103,7 @@ do_install:append () { do_install_ptest () { for f in Makefile tests/Makefile tests/utils/utils.sh tests/regression/tools/save-load/*.lttng \ + tests/utils/lttng-build-profile.json \ tests/regression/tools/save-load/configuration/load-42*.lttng tests/regression/tools/health/test_health.sh \ tests/regression/tools/metadata/utils.sh tests/regression/tools/rotation/rotate_utils.sh \ tests/regression/tools/trace-format/ust-local-trace-pretty.expect* \
@@ -97,7 +112,7 @@ do_install_ptest () { install -D "${B}/$f" "${D}${PTEST_PATH}/$f" done - for f in tests/utils/tap-driver.sh config/test-driver src/common/session.xsd src/common/mi-lttng-4.2.xsd \ + for f in tests/utils/tap-driver.sh config/test-driver src/common/session.xsd src/common/mi-lttng-4.3.xsd \ tests/regression/tests.serial; do install -D "${S}/$f" "${D}${PTEST_PATH}/$f" done