summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng
Commit message (Collapse)AuthorAgeFilesLines
* The poky repository master branch is no longer being updated.Richard Purdie2025-11-0724-1341/+0
| | | | | | | | | | | | | | | | | | | | | You can either: a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs b) use the new bitbake-setup You can find information about either approach in our documentation: https://docs.yoctoproject.org/ Note that "poky" the distro setting is still available in meta-yocto as before and we continue to use and maintain that. Long live Poky! Some further information on the background of this change can be found in: https://lists.openembedded.org/g/openembedded-architecture/message/2179 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update to v2.14.2Bruce Ashfield2025-10-271-1/+1
| | | | | | | | | | | | | | | | This fixed the build against kernels 6.17+ Bumping lttng-modules to version v2.14.2, which comprises the following commits: 6826c7f8 Version 2.14.2 d0230a56 Fix: Add wrapper for `get_pfnblock_migatetype` 65ea32fb Fix: Protect syscall probes with preemption disable (From OE-Core rev: 66cdb002ea6bf3317bfc51100de5ed99f4b2d555) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace2: upgrade 2.1.1 -> 2.1.2Gyorgy Sarvari2025-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shortlog: src.ctf.fs: be less strict when encountering trailing byte at the end of packetized CTF 1.8 metadata tests: add bt_test_cli tests: make bt_cli accept non-positional options tests: bt_diff_cli: don't pass unexpected extra args to bt_diff tests: remove unnecessary nonlocal keywords Fix: Python: set local typing version to that of 3.5.2 Fix: Python: missing __contains__ method for _PluginComponentClasses Fix: tests: Add explicit items method for Mapping compatibility Tests: sync normand.py with upstream Fix: tests: Add explicit __iter__ method for Iterator compatibility Fix: Use local_typing with Python < 3.5.3 ptest results: 1..19926 DURATION: 127 END: /usr/lib/babeltrace2/ptest 2025-09-11T20:25 STOP: ptest-runner TOTAL: 1 FAIL: 0 (From OE-Core rev: 005377ea98f73af37dc8596668ab40e6b63c0b28) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update to v2.14.1Bruce Ashfield2025-09-113-486/+1
| | | | | | | | | | | | | Bumping lttng-modules to the next -stable release as this fixes the build against the latest 6.16-stable kernels. We drop two patches that were previously backported, but are now part of the release. (From OE-Core rev: f4bf06d3aa87341c95e367c71cc9b54e49fcac12) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Add link to issue reported upstream for musl failuresKhem Raj2025-09-081-0/+1
| | | | | | | | (From OE-Core rev: 50e2b9ef5cee80d52eea2badb789144fdcf8a01a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace2: Disable ccache explicitly and inherit setuptools3-baseKhem Raj2025-09-011-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ccache does not work with this package python plugins use setuptools/distutils to build and it tries to compute LDCXXSHARED as described in [1] in /src/bindings/python/bt2/setup.py.in It gets confused and ends up specifying compiler twice and the result is that linker fails with cryptic errors e.g. | /mnt/b/yoe/master/sources/poky/build/tmp/work/x86-64-v3-poky-linux-musl/babeltrace2/2.1.1/recipe-sysroot-native/usr/bin/x86_64-poky-linux-musl/../../libexec/x86_64-poky-linux-musl/gcc/x86_64-poky-linux-musl/15.2.0/ld: cannot find x86_64-poky-linux-musl-g++: No such file or directory | collect2: error: ld returned 1 exit status | error: command '/mnt/b/yoe/master/sources/poky/build/tmp/hosttools/ccache' failed with exit code 1 | make[3]: *** [Makefile:741: build-python-bindings.stamp] Error 1 | make[3]: Leaving directory '/mnt/b/yoe/master/sources/poky/build/tmp/work/x86-64-v3-poky-linux-musl/babeltrace2/2.1.1/build/src/bindings/python/bt2' This is because first occurance of linker is encountering second linker on its cmdline and tries to treat it as an input object to linker It seems LDCXXSHARED computation gets confused when CXX contains ccache [1] https://github.com/pypa/setuptools/commit/2c937116cc0dcd9b26b6070e89a3dc5dcbedc2ae (From OE-Core rev: 7a7eeca4b951e58242b77e410eb10577ea615066) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Filter out regression testsuite on musl systemsKhem Raj2025-09-011-0/+5
| | | | | | | | | | | | | | | | | | regression testsuite does not run to finish on musl systems, some of the issues seen * python is OOM'ing which is fixed by asking for 8G memory for qemu * It hits the timeout limits of ptest-runner even -t 2400 does not finish it * Use make -j1 and running run-ptest script directly ( outside ptest-runner to avoid timeout limit) causes it to run forever Lets disable this testsuite for musl systems for now. (From OE-Core rev: b97dcec2bce26f0eb2a9a842cd20637ab1f17d0d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace2: don't install static modulesRoss Burton2025-08-252-1/+71
| | | | | | | | | | | | | | | | There's no point building or installing static plugins, so apply a patch to only build shared plugins. Poky passes --disable-static via no-static-libs.inc, but anyone building babeltrace2 with nodistro or another distro that doesn't use no-static-libs.inc will fail to build babeltrace2 because of packaging errors around the static version of the python plugin. (From OE-Core rev: cf5ef8a2b6f509c348b9cf800a8534a4e8702103) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Fix build with libcxx runtimeKhem Raj2025-08-252-0/+49
| | | | | | | | (From OE-Core rev: d66afee0a040e4417db774425297ca43497f5386) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lltng-tools: Fix build with lld linkerKhem Raj2025-08-252-0/+44
| | | | | | | | | | | liblttng-ctl is exposting undefined symbols which are provided by libcommon-gpl.a and is not linked into liblttng-ctl.so (From OE-Core rev: a555a7525beebd4a6103755a6e6df6aa2e4ee7de) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: Remove in favour of babeltrace2Richard Purdie2025-08-213-108/+1
| | | | | | | | | This version is deprecated and replaced by babeltrace2. Drop the older version so we can focus efforts around the newer one. (From OE-Core rev: d16a5e05b3f383d21a1970c6613494416a7503c2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Disable slow tests to fix ptest runsRichard Purdie2025-08-192-0/+29
| | | | | | | | | | Add a patch disabling some ptests in lttng-tools since they are slow, give no output on the console and cause the ptest run to error due to our 450s inactivity timeout. (From OE-Core rev: 328d5c9a1dcfa4c636fd6d6e05f2474c15dc9f7a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Remove the scope resolution operatorMingli Yu2025-08-192-0/+42
| | | | | | | | | | | | | | | Remove the scope resolution operator :: to fix the below build failure. | ../../../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; | | (From OE-Core rev: 607b27a42a53377e9d4cc6fa1abe335dde5c770b) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Upgrade 2.13.15 -> 2.14.0Mingli Yu2025-08-199-1452/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove 3 backported patch. 0001-Fix-rotation-destroy-flush-fix-session-daemon-abort-.patch 0001-compat-Define-off64_t-as-off_t-on-linux.patch 0001-tests-add-check_skip_kernel_test-to-check-root-user-.patch * Remove 0001-fix-lttng-tools-fails-to-compile-with-libxml2-2.14.0.patch as the issue has been fixed in another way as [1]. * Rebase 0001-tests-do-not-strip-a-helper-library.patch and disable-tests.patch to fuzz issue. * Add babeltrace2 to DEPENDS to fix below configure error. | configure: error: libbabeltrace2 is required to build tests * src/common/config/session.xsd is restructured to src/common/session.xsd [2]. * Add 0001-gen-ust-events-constructor-change-rpath-to-libdir-li.patch to fix the below buildpath QA issue. ERROR: lttng-tools-2.14.0-r0 do_package_qa: QA Issue: File /usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events-constructor/gen-ust-events-c-constructor-so in package lttng-tools-ptest contains reference to TMPDIR [buildpaths] ERROR: lttng-tools-2.14.0-r0 do_package_qa: QA Issue: lttng-tools-ptest: /usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events-constructor/gen-ust-events-c-constructor-so contains bad RPATH /buildarea3/myu2/yocto/builds/ptest-2025-07-09/tmp/work/core2-64-poky-linux/lttng-tools/2.14.0/build/tests/utils/testapp/gen-ust-events-constructor [rpaths] ERROR: lttng-tools-2.14.0-r0 do_package_qa: QA Issue: File /usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events-constructor/gen-ust-events-constructor-so in package lttng-tools-ptest contains reference to TMPDIR [buildpaths] ERROR: lttng-tools-2.14.0-r0 do_package_qa: QA Issue: lttng-tools-ptest: /usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events-constructor/gen-ust-events-constructor-so contains bad RPATH /buildarea3/myu2/yocto/builds/ptest-2025-07-09/tmp/work/core2-64-poky-linux/lttng-tools/2.14.0/build/tests/utils/testapp/gen-ust-events-constructor [rpaths] * Add the redpends for lttng-tools-ptest to fix the test failure. ERROR: tools/live/test_early_inactive_app.py ============================================ Traceback (most recent call last): File "/usr/lib/lttng-tools/ptest/tests/regression/./tools/live/test_early_inactive_app.py", line 21, in <module> import lttngtest File "/usr/lib/lttng-tools/ptest/tests/utils/lttngtest/__init__.py", line 9, in <module> from .environment import * File "/usr/lib/lttng-tools/ptest/tests/utils/lttngtest/environment.py", line 13, in <module> import random ModuleNotFoundError: No module named 'random' ERROR: tools/live/test_early_inactive_app.py - missing test plan ModuleNotFoundError: No module named 'random' ModuleNotFoundError: No module named 'xml' ModuleNotFoundError: No module named 'tempfile' ModuleNotFoundError: No module named 'json' ModuleNotFoundError: No module named 'bt2' [1] https://github.com/lttng/lttng-tools/commit/2d2e77ddc9e3e63c3c658e824fb754f5a534a6ab [2] https://github.com/lttng/lttng-tools/commit/4ae042345b4094e98611744d9ba6c92265058fdb RP: Added install of missing expect scripts Add new dependency on lttng-ust-dev due to test requirement (and remove QA check warning) Add missing dependency on python3-asyncio for concurency module (From OE-Core rev: a09c0fa79cba48c76ed9b582e42becff91f32435) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace2: Fix python bindings ptestsMichael Jeanson2025-08-193-2/+134
| | | | | | | | | | | | | | | | | The python bindings ptests weren't functional. This patch: * Adds a patch to allow the tests to be executed on target standalone * Sets a variable to allow the right install path to be passed to setup.py * Sets the right paths in the ptest runner script for the python modules * Installs the missing data needed to run the tests Base patch was written by Michael Jeanson, RP then tweaked wording and formatting and added config to complete the work on all arches. (From OE-Core rev: 459ca12493a69402c1a0eaa367d8122c3e8c6acc) Signed-off-by: Michael Jeanson <mjeanson@efficios.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace2: Enable python pluginsMingli Yu2025-08-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | * The lttng-tools test fails as below as it needs bt2 module. ERROR: ust/high-throughput/test_high_throughput_snapshot.py =========================================================== Traceback (most recent call last): File "/usr/lib/lttng-tools/ptest/tests/regression/./ust/high-throughput/test_high_throughput_snapshot.py", line 26, in <module> import bt2 ModuleNotFoundError: No module named 'bt2' Enable python plugins for babeltrace2 to provide the above support. * Add swig-native to DEPENDS to fix the below configure error. | configure: error: SWIG 2.0.0 or newer is required to build the python bindings * There are some ptest failed cases after enable python plugins and track the failed ptest as https://bugs.lttng.org/issues/1430. (From OE-Core rev: 194470edf300ae5fd800374c15ef74005d8ca307) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: Upgrade 2.13.9 -> 2.14.0Mingli Yu2025-08-191-2/+2
| | | | | | | | | | | | License-Update: implement REUSE with SPDX identifiers [1] [1] https://github.com/lttng/lttng-ust/commit/e03d7c66c57bf268b87296566a5160039f35ccfb (From OE-Core rev: 0375a3dd7c25fdacebfaff283e8c1e9e52f1d2d3) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update to v2.14.0Bruce Ashfield2025-08-145-48/+496
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of this update: - drop one patch that is upstream now - refresh one patch for new context - backport two patches to fix the build against 6.16 (drop them in 2.14.1+ - update the license checksum, as the following change has been made to the license: commit 61baff6e8de2462f45006662bc34bcbf5f645ba0 Author: Michael Jeanson <mjeanson@efficios.com> Date: Tue Jun 18 14:35:38 2024 -0400 Implement REUSE 3.0 with SPDX identifiers Implement the full REUSE spec [1] to help with copyright and licensing audits and compliance. This will reduce a lot of manual work for the licensing audit required in Debian on each update and also allow using automated tools. 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 code use 'GPL-2.0-only OR LGPL-2.1-only' unless otherwise stated, for documentation 'CC-BY-SA-4.0' and for data files 'CC0-1.0'. Freeform text files were converted to Markdown to allow licensing comments. Running the reuse tool on the repo is now succesful: $ reuse lint # SUMMARY * Bad licenses: 0 * Deprecated licenses: 0 * Licenses without file extension: 0 * Missing licenses: 0 * Unused licenses: 0 * Used licenses: CC0-1.0, GPL-2.0-only, CC-BY-SA-4.0, MIT, LGPL-2.1-only * Read errors: 0 * files with copyright information: 358 / 358 * files with license information: 358 / 358 Congratulations! Your project is compliant with version 3.0 of the REUSE Specification :-) [1] https://reuse.software/tutorial/ Change-Id: I1755cab24a6fcec7a6c9a2136891418203ec34b8 Signed-off-by: Michael Jeanson <mjeanson@efficios.com> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> (From OE-Core rev: 114bc08add61adfa72470767f583eeafeb51331c) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove consecutive blank linesAlexander Kanavin2025-06-202-2/+0
| | | | | | | | | | | | | | | | | Some of them were introduced by mass-removal of S = WORKDIR/git assignments; rather than try to fix up (or redo) just these, I've run this sed command over the whole tree: sed -i -z -E 's/([ \t\f\v\r]*\n){3,}/\n\n/g' `find . -name *.bb -o -name *.inc` The rationale is that more than one empty line is wasting vertical screen space, and does nothing for readability. (From OE-Core rev: cedc4ff7c9bcfb22a20e43e47f9759f4007a4f1a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove S in recipes that fetch from git via setting ↵Alexander Kanavin2025-06-202-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BB_GIT_DEFAULT_DESTSUFFIX Removing all the S = ${WORKDIR}/git assignments works because BB_GIT_DEFAULT_DESTSUFFIX is set to match S from bitbake.conf (which itself is set to match typical tarball releases). A few recipes are setting S to a sub-directory of the git tree and need to be adjusted accordingly. bzip2 recipe is fetching a tarball and separately cloning tests; adjust the recipe to put the latter into 'bzip2-tests', instead of 'git'. devupstream.bbclass no longer needs to rewrite S, and is adjusted accordingly. Adjust scripts/lib/recipetool/append.py to not hardcode 'git' as unpack destination. Adjust kernel-yocto.bbclass to use the git unpack variable instead of hardcoding 'git' (there's also removal of repetition of string constants and a correction of workdir/unpackdir mismatch in one of the if-else branches). Ensure build-appliance-image recipe does not use 'git' as checkout directory for poky repo, but rather explicitly name it 'poky'. Ensure reproducible.py code that looks for git repositories does not hardcode 'git' but uses the destination set by BB_GIT_DEFAULT_DESTSUFFIX. Ensure recipetool does not write out unneeded S settings into newly created recipes that fetch from git. Adjust selftest to not hardcode 'git' as unpack directory. (From OE-Core rev: f80c07019ddadaf9c5fb890faabfda7920ecd15e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: upgrade 2.13.18 -> 2.13.19Wang Mingyu2025-06-161-1/+1
| | | | | | | | | | | | | | | | | Changelog: =========== * Fix missing override when CONFIG_COMPAT_OLD_SIGACTION is not defined * fix: writeback: 'balance_dirty_pages' Respect 'CONFIG_CGROUP_WRITEBACK' * Fix: scsi: RESERVE and RELEASE renamed in Linux v6.15-rc1 * Fix: del_timer[_sync] deleted in linux v6.15-rc1 * Fix: Use 'nonseekable_open' for proc files * Fix: trace_balance_dirty_pages in Linux v6.14.2 * fix: version constraint for building lttng-probe-9p (From OE-Core rev: 8f8b8e72ff4ea562630b428ff8ab7f163d0c7084) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: fix compile failed with libxml2 2.14.0+Hongxu Jia2025-05-272-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: | In file included from /srv/pokybuild/yocto-worker/qemux86-alt/build/build/tmp/work/core2-32-poky-linux/lttng-tools/2.13.15/recipe-sysroot/usr/include/libxml2/libxml/parser.h:25, | from ../../../../lttng-tools-2.13.15/src/common/config/session-config.c:29: | /srv/pokybuild/yocto-worker/qemux86-alt/build/build/tmp/work/core2-32-poky-linux/lttng-tools/2.13.15/recipe-sysroot/usr/include/libxml2/libxml/encoding.h:173:7: note: declared here | 173 | } input XML_DEPRECATED_MEMBER; | | ^~~~~ | ../../../../lttng-tools-2.13.15/src/common/config/session-config.c:432:15: error: called object is not a function or function pointer | 432 | ret = handler->input(out_str, &out_len, (const xmlChar *) in_str, &in_len); | | ^~~~~~~ | At top level: | cc1: note: unrecognized command-line option '-Wno-incomplete-setjmp-declaration' may have been intended to silence earlier diagnostics According to [1][2], the UTF-8 handler is ``` static xmlCharEncError UTF8ToUTF8(void *vctxt ATTRIBUTE_UNUSED, unsigned char* out, int *outlen, const unsigned char* in, int *inlen, int flush ATTRIBUTE_UNUSED) ``` Update input.func with setting ATTRIBUTE_UNUSED params with NULL and 0 [1] https://gitlab.gnome.org/GNOME/libxml2/-/commit/38f475072aefe032fff1dc058df3e56c1e7062fa [2] https://gitlab.gnome.org/GNOME/libxml2/-/commit/69b83bb68e2a8ed0013f80c51b9a358714b00c9a#478024cc18a2cc8dbaed34076e9775f6827f413d_2188_2201 (From OE-Core rev: 5feba5682a0d07de94f4b13d7ef24d537c624cf4) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace2: Update patch to upstreamed version of patchKhem Raj2025-05-191-11/+12
| | | | | | | | | Update to the version of patch that landed upstream (From OE-Core rev: 916dceb531d4bf5a852864af30913c972ea31cf0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace2: upgrade 2.1.0 -> 2.1.1Wang Mingyu2025-05-131-2/+2
| | | | | | | | | | | | | | | | | | Changelog: =========== * src.ctf.lttng-live: remove lttng_live_lazy_msg_init function * src.ctf.lttng-live: fix comment formatting * README.adoc: Update working version to 2.1 * fix: export bt_component_class_sink_simple_borrow * fix: building from the release tarball without flex * doc/api/libbabeltrace2: use '<code>' i.o. '<span>' in '<dt>' * Fix: doc/api/libbabeltrace2/Doxyfile.in: set version to 2.1 * babeltrace2-sink.text.pretty(7): add missing default param. value (From OE-Core rev: 1c0fa9264acd8c97fbdf61d1780e4842fd1e8ab0) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: upgrade 2.13.8 -> 2.13.9Richard Purdie2025-05-054-167/+3
| | | | | | (From OE-Core rev: 23de06c4e28929d540058071384aefa41d48b69a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: fix build failure on genericarm64Mikko Rapeli2025-04-292-0/+36
| | | | | | | | | | | | | Workaround to unblock genericarm64 builds. Upstream is working on a better fix https://bugs.lttng.org/issues/1426 Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15840 (From OE-Core rev: c57a903b9ac6d3015195a59829c223917e9c41f8) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: Upgrade 2.13.17 -> 2.13.18Richard Purdie2025-04-231-1/+1
| | | | | | | | Includes fixes for 64 bit time on 32 bit platforms. (From OE-Core rev: f50a33c074a2de99c6b4b889c91c673162ec4040) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: 2.13.14 -> 2.13.15Richard Purdie2025-04-236-68/+81
| | | | | | | | Includes fixes for 64 bit time on 32 bit platforms. (From OE-Core rev: bbb542aff833353dd5645e7f4c279ac3625a416f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Update patch statusRichard Purdie2025-03-292-3/+4
| | | | | | | | A couple of patches were merged upstream, mark as such. (From OE-Core rev: ac8557164ed7a4fc2961a7d15aa202a7f38fb4ed) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace2: Fix build with clang on 32bit hostsKhem Raj2025-03-242-0/+38
| | | | | | | | | clang-20 unveils more build issues (From OE-Core rev: 7d5dc608ddab89f8d856a8aa39544f2fade55dba) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace2: upgrade 2.0.6 -> 2.1.0Bin Lan2025-03-186-41/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refresh 0001-Make-manpages-multilib-identical.patch with correct number and upstream status. Create a new patch 0001-tests-fix-test-applications-in-cpp-common.patch to fix test applications in cpp-common are needed to re-build when running in an embedded environment. 0001-tests-do-not-run-test-applications-from-.libs.patch is deleted for the commit log is not very accurate and the line number is changed, is replaced by 0001-tests-set-the-correct-plugin-directory.patch. Use 0001-tests-set-the-correct-plugin-directory.patch to set the correct directory of plugin shared library. Copy the trace files (*.ref) the metadata files (*.mctf) and json files which are required by test cases from source directory in babeltrace2_2.1.0.bb. Add character set conversion (gconv) for UTF-16/32 encoding for test cases. Set the correct test environment variables in tests/utils/env.sh when running in an embedded environment. Remove "GREP=grep SED=sed PYTHON=python3" from the file run-ptest for these test environment variables are set in tests/utils/env.sh. License-Update: add new license BSD-4-Clause GPL-3.0-or-later CC-BY-SA-4.0 PSF-2.0 Babeltrace 2.1.0 is a major change. Babeltrace 2.1.0 is released after five years of development after the release of Babeltrace 2.0.0. The licenses did change significantly. Changelog: Babeltrace 2.1, MIP 1 is available and adds many functions to support CTF 2 features. The Python bindings wrap all the library changes in the same systematic way as in Babeltrace 2.0. Add type hints to the public API to assist with static analysis of your applications. Details about the 2.1.0 release: https://babeltrace.org/docs/release-notes/babeltrace-2.1.0-release-notes.html (From OE-Core rev: 1a17aec7955cb3ed288519d28ee10858abbba3ae) Signed-off-by: Bin Lan <bin.lan.cn@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: Upgrade 2.13.16 -> 2.13.17Richard Purdie2025-03-172-53/+1
| | | | | | | | Drop patch now applied in the new release. (From OE-Core rev: d6a9a41a2ef2d06aeca7742ecb0a40d45740989b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace2: extend to nativesdkChangqing Li2025-03-071-0/+12
| | | | | | | | | | This allows anyone using the SDK to be able to analyze the logs collected on target (From OE-Core rev: 760e6d7467a55aa98316310c68a95b94ccd0bf20) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: extend to nativesdkChangqing Li2025-03-071-0/+2
| | | | | | | | | | This allows anyone using the SDK to be able to analyze the logs collected on target (From OE-Core rev: 5fda2c8ad16ecf65b9e5012f57b03b8c867e2199) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest: Fix variable assignment whitespaceRichard Purdie2025-02-011-1/+1
| | | | | | | | | | Recipes are much more readable with whitespace around the assignment operators. Fix various assignments in OE-Core to show this is definitely the preferred formatting. (From OE-Core rev: 30ea609d3357fb3de911f2f6a5e6856c151b976a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: disable patching our libtool.m4Ross Burton2025-01-201-0/+2
| | | | | | | | | | | | | | | | | | | | Twelve years ago, libtool on Debian had a patch that meant it failed to cross-compile lttng-tools correctly. The solution at the time was to sed libtool.m4 whilst configure was being ran[1], which (assuming it patches the correct file) results in a re-execution of configure during do_compile. This behaviour is undesired as we don't patch libtool in the way that this fixup is needed (the sed only changes Haiku OS codepaths), so disable it. [1] https://github.com/lttng/lttng-tools/commit/6bd5984c2b1b1037e0345bbac3506b5503fe01bd (From OE-Core rev: 87c1c7aa306759183e1f0b67a813b58eed8fb8ad) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: fix sched_stat_runtime changed in Linux 6.6.66Xiangyu Chen2024-12-232-1/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | The following commit has been backported into the 6.6.y branch. See upstream commit: commit 5fe6ec8f6ab549b6422e41551abb51802bd48bc7 Author: Peter Zijlstra <peterz@infradead.org> Date: Mon Nov 6 13:41:43 2023 +0100 sched: Remove vruntime from trace_sched_stat_runtime() That caused building the lttng-modules report compile error: tracepoint-event-impl.h:133:6: error: conflicting types for 'trace_sched_stat_runtime'; The fix is still pending on lttng review board, backport it to oe-core to de-block the build issue. (From OE-Core rev: 5b973be9a7fbb2694d162ac06b76513525f3deed) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: Upgrade 2.13.15 -> 2.13.16Richard Purdie2024-12-173-231/+1
| | | | | | | | Drop two patches merged upstream. (From OE-Core rev: 1bc656bac3bccbedde407a52969dfdca7f5a3c2b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: backport patch to fix cmake-multiple-shared-libraries build errorBin Lan2024-11-123-34/+162
| | | | | | | | | | | | | | | | | | | | | | | There are the following error when building doc/examples/cmake-multiple-shared-libraries: ld: warning: liblttng-ust-common.so.1, needed by lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link) ld: warning: liblttng-ust-tracepoint.so.1, needed by lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link) ld: warning: liblttng-ust-common.so.1, needed by lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link) ld: warning: liblttng-ust-tracepoint.so.1, needed by lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link) ld: lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_common_alloc_tls' ld: lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_urcu_after_fork_parent' ld: lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_urcu_after_fork_child' ld: lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_urcu_after_fork_parent' ld: lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_tp_probe_unregister_queue_release' ld: lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_cancelstate_disable_pop' collect2: error: ld returned 1 exit status This change set removes the old patch file 0001-Makefile.am-update-rpath-link.patch, adds a new patch file 0001-Fix-Build-examples-when-rpath-is-stripped-from-in-bu.patch. (From OE-Core rev: 89394da1cbe98652e1d0bd59c762ff7da2d6a113) Signed-off-by: Bin Lan <bin.lan.cn@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: fix build for 6.12+Bruce Ashfield2024-11-073-0/+230
| | | | | | | | | | We backport two fixes from the -stable 2.13 lttng branch to fix the build against kernels 6.12+ (From OE-Core rev: f7e9b9b30f0035a139e14210ee416e5cf27f8f1e) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: Upgrade 2.13.14 -> 2.13.15Richard Purdie2024-10-227-482/+1
| | | | | | | | Drop backported patches now not needed in the new version. (From OE-Core rev: f180b28885a67ef2957c5286c99b8b0bfda0d605) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: 2.13.13 -> 2.13.14Richard Purdie2024-09-041-1/+1
| | | | | | (From OE-Core rev: c861c35c10230204b042613b5e53ae50c806b098) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update 2.13.13 -> 2.13.14Alexander Kanavin2024-08-2812-414/+33
| | | | | | | | | | | Remove backports. License-update: changed file paths. (From OE-Core rev: f565ab9b768c8f59ccb7f3b436de3b7475d1e237) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: backport patches for kernel v6.11Bruce Ashfield2024-08-087-0/+500
| | | | | | | | | | | While we wait for a new lttng-release, we backport 6 patches to fix the build against the 6.11 kernel. (From OE-Core rev: 168e98c7d2118333da9450f069699128892e70db) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* native/nativesdk: Stop overriding unprefixed *FLAGS variablesRichard Purdie2024-07-011-1/+1
| | | | | | | | | | | | | | | | | | | | We're currently encouraging an "arms race" with the FLAGS variables since a recipe might want to set a specific flag for all variants but to do so, += won't work due to the assignment in the native/nativesdk class files. This means recipes are using append. Since the default variables are constructed out of TARGET_XXX variables and we redefine these, there is no need to re-define the un-prefixed variables. If we drop that, the += appends and similar work and recipes don't have to resort to append. Change the classes and cleanup a number of recipes to adapt to the change. This change will result in some flags appearing to some native/nativesdk variants but that is probably what was originally expected anyway. (From OE-Core rev: a157b2f9d93428ca21265cc860a3b58b3698b3aa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update to 2.13.13 and fix for 6.10+Bruce Ashfield2024-06-049-368/+363
| | | | | | | | | | | | Bumping lttng-modules to 2.13.13, which allows us to drop some upstream patches. We also import 4 patches that are required to build against 6.10. (From OE-Core rev: afca89e93f402f5c17a1b9eb0bc7c7fffdda49a2) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Update WORKDIR references to UNPACKDIRRichard Purdie2024-05-021-1/+1
| | | | | | | | | | Since we want to be able to stop unpacking to WORKDIR, correct the WORKDIR references in recipe do_compile/do_install tasks to use UNPACKDIR in the appropraite places instead. (From OE-Core rev: d73595df69667fe9d12ecd407b77a0b8dae2109c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: upgrade 2.13.7 -> 2.13.8Wang Mingyu2024-04-251-1/+1
| | | | | | | | | | | | | | Changelog: ============ * Add close_range wrapper to liblttng-ust-fd.so * ust-tracepoint-event: Add static check of sequences length type * lttng-ust(3): Fix wrong len_type for sequence * Fix: libc wrapper: use initial-exec for malloc_nesting TLS (From OE-Core rev: 3dd02f741a151bcc1fe46e7fd6d585ca92c86c60) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: upgrade 2.13.11 -> 2.13.13Wang Mingyu2024-04-162-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 0001-tests-do-not-strip-a-helper-library.patch refreshed for 2.13.13 Changelog: =========== * Fix: consumerd: leak of tracing buffers on relayd connectivity issue * Fix: consumerd: wrong timer mentioned in error logging * Fix: consumerd: type confusion in lttng_consumer_send_error * Fix: baddr-statedump: use $(LIBTOOL) --mode=execute * Fix: relayd: live client not notified of inactive streams * Fix: relayd: live: dispose of zombie viewer metadata stream * tests: Fix typo in tests/regression/kernel/test_ns_contexts * Fix: sessiond: freeze on channel creation on restart * common: move utils_create_lock_file to its own file * tests: tools/clear/test_ust wait for specific test app pid * Fix: sessiond: crash when sending data_pending to an active session * Tests: fix: list_triggers_cli: kallsyms contains prefixed symbols * License: common: error_query: fix typo in SPDX specifier (From OE-Core rev: 5d35200e089f0695cfb19b65dd9b56006aa3d4fc) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace2: upgrade 2.0.5 -> 2.0.6Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== * bt2: disable some warnings for 'native_bt.c' * bt2: compile 'native_bt.c' with '-Wno-undef' * Fix: src.ctf.lttng-live: expect NEW_STREAM/METADATA for inactive streams * Fix: 'babeltrace2 convert': don't consider the '--plugin-path' opt. * include/babeltrace2/plugin/plugin-dev.h: "define" -> "definition * Fix: doc: escape double quote in bt_p alias * Fix: bt2: pass _TraceClassConst to destruction listeners * fix: 'load_module()' deprecated in Python 3.12 * tests: retry os.rename on PermissionError failure in lttng_live_server.py * doc: fix uptream -> upstream typos * fix: test_message_iterator.py hangs on Python 3.12 * plugin-dev: mark symbols meant to be public with __attribute__((visibility("default"))) * Silence -Wunused-but-set-variable error with clang * Fix: Windows DLL path lookup with Python >= 3.8 * doc/man: make default values of boolean init. params. clearer * RFC: docs: fix: Match stated automake requirement * fix: make flake8 6.x happy * fix: running black on python 3.11 * bt_query_executor_create_with_method_data(): fix docs note * Fix: ctf-writer: null dereference in bt_ctf_trace_common_add_stream_class * Update working version to Babeltrace v2.0.6 (From OE-Core rev: a5f05da60ca888456900f9fb0a52ef07db754c06) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>