lttng-tools: Upgrade 2.14.0 -> 2.14.1
PATCH 1/1 lttng-tools: Upgrade 2.14.0 -> 2.14.1
From: Mingli Yu <[email protected]>
Remove 0001-gen-ust-events-constructor-change-rpath-to-libdir-li.patch as the logic is included in 2.14.1 [1].
Remove 0001-eventfd.cpp-Remove-the-scope-resolution-operator.patch as the logic is included in 2.14.1 [2].
Remove 0001-liblttng-ctl-drop-index-allocator-symbols-from-versi.patch as the logic is included in 2.14.1 [3].
util_event_generator.sh is renamed to util_event_generator.py [4] and the .py install logic in included as below.
find "${B}/tests/$d" -maxdepth 1 -type f -name "*.py" \
-exec install -t "${D}${PTEST_PATH}/tests/$d" {} +# ./run-ptest [snip] PASS: test_ust_data 8 - Validate UST event PASS: test_ust_data 9 - Create UST context PASS: test_ust_data 10 - Validate UST context PASS: test_ust_data 11 - Validate string length PASS: test_ust_data 12 - Create UST exclusion PASS: test_ust_data 13 - Create UST event with identical exclusion names fails PASS: test_ust_data 14 - Create UST exclusion PASS: test_ust_data 15 - Create UST event with different exclusion names PASS: test_ust_data 16 - Validate UST event and exclusion ============================================================================ Testsuite summary for lttng-tools 2.14.1 ============================================================================ # TOTAL: 1089 # PASS: 1089 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0
[1] https://github.com/lttng/lttng-tools/commit/409ea456e181a769fc7e4b0a44823be0bdc8b9ce
[2] https://github.com/lttng/lttng-tools/commit/e58aac43fc498e48eb0bfb871dd5b50e54a5e93e
[3] https://github.com/lttng/lttng-tools/commit/e7eaad663489f8a12568f8ca84429b6ed64dc8c5
[4] https://github.com/lttng/lttng-tools/commit/7126bceecea9ed5d981863400ee7c4ba13042871
---
...Remove-the-scope-resolution-operator.patch | 41 ------------------
...onstructor-change-rpath-to-libdir-li.patch | 43 -------------------
...p-index-allocator-symbols-from-versi.patch | 43 -------------------
...-tools_2.14.0.bb => lttng-tools_2.14.1.bb} | 6 +--
4 files changed, 1 insertion(+), 132 deletions(-)
delete mode 100644 meta/recipes-kernel/lttng/lttng-tools/0001-eventfd.cpp-Remove-the-scope-resolution-operator.patch
delete mode 100644 meta/recipes-kernel/lttng/lttng-tools/0001-gen-ust-events-constructor-change-rpath-to-libdir-li.patch
delete mode 100644 meta/recipes-kernel/lttng/lttng-tools/0001-liblttng-ctl-drop-index-allocator-symbols-from-versi.patch
rename meta/recipes-kernel/lttng/{lttng-tools_2.14.0.bb => lttng-tools_2.14.1.bb} (95%)meta/recipes-kernel/lttng/lttng-tools/0001-eventfd.cpp-Remove-the-scope-resolution-operator.patch deleted +0 -41
@@ -1,41 +0,0 @@ -From da83d31a8dd555c28eb27bd7a7d3c53b51d5f276 Mon Sep 17 00:00:00 2001 -From: Mingli Yu <[email protected]> -Date: Sun, 20 Jul 2025 16:37:57 +0800 -Subject: [PATCH] eventfd.cpp: Remove the scope resolution operator - -Remove the scope resolution operator :: to fix the below build failure -with musl. - | ../../../sources/lttng-tools-2.14.0/src/common/eventfd.cpp:18:31: error: expected id-expression before numeric constant - | 18 | int flags = ::EFD_CLOEXEC; - | | ^~~~~~~~~~~ - | ../../../sources/lttng-tools-2.14.0/src/common/eventfd.cpp:21:36: error: expected id-expression before numeric constant - | 21 | flags |= ::EFD_SEMAPHORE; - | | ^~~~~~~~~~~~~ - -Upstream-Status: Pending [The message to lttng-dev awaits moderator approval] - -Signed-off-by: Mingli Yu <[email protected]> ---- - src/common/eventfd.cpp | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/common/eventfd.cpp b/src/common/eventfd.cpp -index fe5b549..3379b0b 100644 ---- a/src/common/eventfd.cpp -+++ b/src/common/eventfd.cpp -@@ -15,10 +15,10 @@ - - lttng::eventfd::eventfd(bool use_semaphore_semantics, std::uint64_t initial_value) : - file_descriptor([use_semaphore_semantics, initial_value]() { -- int flags = ::EFD_CLOEXEC; -+ int flags = EFD_CLOEXEC; - - if (use_semaphore_semantics) { -- flags |= ::EFD_SEMAPHORE; -+ flags |= EFD_SEMAPHORE; - } - - const auto raw_fd = ::eventfd(initial_value, flags); --- -2.34.1 -
meta/recipes-kernel/lttng/lttng-tools/0001-gen-ust-events-constructor-change-rpath-to-libdir-li.patch deleted +0 -43
43 lines not on this page · raw message
meta/recipes-kernel/lttng/lttng-tools/0001-liblttng-ctl-drop-index-allocator-symbols-from-versi.patch deleted +0 -43
43 lines not on this page · raw message
meta/recipes-kernel/lttng/lttng-tools_2.14.1.bb renamed from meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb +1 -5
@@ -49,14 +49,11 @@ SRC_URI = "https://lttng.org/files/lttng-tools/lttng-tools-${PV}.tar.bz2 \ file://run-ptest \ file://lttng-sessiond.service \ file://disable-tests.patch \ - file://0001-gen-ust-events-constructor-change-rpath-to-libdir-li.patch \ - file://0001-eventfd.cpp-Remove-the-scope-resolution-operator.patch \ file://disable-tests2.patch \ - file://0001-liblttng-ctl-drop-index-allocator-symbols-from-versi.patch \ file://libc++.patch \ " -SRC_URI[sha256sum] = "d8c39c26cec13b7bd82551cd52a22efc358b888e36ebcf9c1b60ef1c3a3c2fd3" +SRC_URI[sha256sum] = "0e68eb27923621c4bc127cfce40422d28cf7e473fedf6229ae6c32ba5c5b7c6d" inherit autotools ptest pkgconfig useradd python3-dir manpages systemd
@@ -93,7 +90,6 @@ do_install_ptest () { for f in Makefile tests/Makefile tests/utils/utils.sh tests/regression/tools/save-load/*.lttng \ 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/notification/util_event_generator.sh \ tests/regression/tools/trace-format/ust-local-trace-pretty.expect \ tests/regression/tools/trace-format/kernel-local-trace-pretty.expect \ tests/regression/tools/base-path/*.lttng; do
Signature · 1 line
2.34.1