summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng
AgeCommit message (Collapse)Author
2021-03-11recipes-kernel: Add missing HOMEPAGE and DESCRIPTION for recipes.Meh Mbeh Ida Delphine
Fixes: [YOCTO #13471] Signed-off-by: Ida Delphine <idadelm@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 16409694f19e4d3b7bdc10a7f71c67938ce5f3ff) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2020-12-03lttng-modules: add post 2.11.6 patchesBruce Ashfield
To fix building against the latest 5.4.x kernels (and other versions as well), we import the lttng patches that have been added since the 2.11.6 release. When 2.11.7 is released, we can drop these patches and go with the release tarball. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2020-10-07lttng-ust: update to 2.11.1Marek Vasut
Update to latest available. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Alexander Kanavin <alex.kanavin@gmail.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2020-10-07lttng-tools: update to 2.11.5Marek Vasut
Update to latest available. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Alexander Kanavin <alex.kanavin@gmail.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2020-10-07lttng-modules: update to 2.11.6Marek Vasut
Update to latest available. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Alexander Kanavin <alex.kanavin@gmail.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2020-10-07Revert "lttng-modules: backport writeback.h changes from 2.12.x to fix ↵Steve Sakoman
kernel 5.4.62+" We'll be using an upstream version bump instead of this backport This reverts commit 348c666b2dca230308c8462dac2117b04cca6ae7. Signed-off-by: Steve Sakoman <steve@sakoman.com>
2020-09-30lttng-modules: backport writeback.h changes from 2.12.x to fix kernel 5.4.62+Bruce Ashfield
Backporting the kernel version changes for writeback.h to fix compilation against kernel stable versions 5.4.62+ This is a combination of upstream commits: 87b2aff [fix: writeback: Fix sync livelock due to b_dirty_time processing (v5.9)] b74b25f [fix: version ranges for ext4_discard_preallocations and writeback_queue_io Upstream-status: Backport Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2020-07-16babeltrace: correct the git SRC_URIAlexander Kanavin
The previous one seems to be gone. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b9995f8a8f08bbcb1e0915a7420ec7fb5623d604) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2020-03-21lttng-ust: upgrade 2.11.0 -> 2.11.1Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21lttng-modules: update to 2.11.2Daniel Dragomir
Upgrade to version 2.11.2 in order to fix some build errors with latest 5.4 kernel. - conflicting types for 'trace_fast_page_fault' Reproductible on kernel greater than v5.4.19, starting with commit 8a1cd01bee ("KVM: x86: Use gpa_t for cr2/gpa to fix TDP support on 32-bit KVM") Error messages: lttng-modules-2.11.1/probes/../probes/lttng-tracepoint-event-impl.h:130:6: error: 130 | void trace_##_name(_proto); tmp/work-shared/axxiax86-64/kernel-source/include/linux/tracepoint.h:233:21: note: previous definition of 'trace_fast_page_fault' was here 233 | static inline void trace_##name(proto) - conflicting types for 'trace_rcu_dyntick' Reproductible on kernel greater than v5.4.22, starting with commit 6cf539a87a ("rcu: Fix data-race due to atomic_t copy-by-value") Error messages: lttng-modules-2.11.1/probes/../probes/lttng-tracepoint-event-impl.h:130:6: error: conflicting types for 'trace_rcu_dyntick' 130 | void trace_##_name tmp/work-shared/axxiax86-64/kernel-source/include/linux/tracepoint.h:233:21: note: previous definition of 'trace_rcu_dyntick' was here 233 | static inline void trace_##name(proto) Signed-off-by: Daniel Dragomir <Daniel.Dragomir@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13babeltrace2: updated to 2.0.2Anders Wallin
Signed-off-by: Anders Wallin <wallinux@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12babeltrace2: initialize the other_entry pointerMingli Yu
When add below line to local.conf to enable debug build: DEBUG_BUILD = "1" There comes below failure when run "bitbake babeltrace2" | ../../../../../git/src/plugins/ctf/fs-src/fs.c: In function 'ds_index_insert_ds_index_entry_sorted': | ../../../../../git/src/plugins/ctf/fs-src/fs.c:702:5: error: 'other_entry' may be used uninitialized in this function [-Werror=maybe-uninitialized] | 702 | !ds_index_entries_equal(entry, other_entry)) { So initialize the other_entry pointer to fix the above error. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12babletrace2: make manpages multilib identicalJeremy Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06babeltrace2: added first version, 2.0.1Anders Wallin
Babeltrace 1 vs. Babeltrace 2 The Babeltrace project exists since 2010. In 2020, Babeltrace 2 was released. Babeltrace 2 is a complete rewrite of the library, Python bindings, and CLI. It is plugin based and offers much more features and potential than Babeltrace 1. Because Babeltrace 2 is still a young released project, some distributions still provide packages for the Babeltrace 1 project. Both projects can coexist on the same system as there are no common installed files. Signed-off-by: Anders Wallin <wallinux@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06babeltrace: only check latest git tag version for 1.x.xAnders Wallin
version 2.x.x will be added with a new babeltrace2 recipe Signed-off-by: Anders Wallin <wallinux@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-25lttng-tools: exclude one more test that sporadically failsAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-21babeltrace: added ptestAnders Wallin
Signed-off-by: Anders Wallin <wallinux@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-21lttng-tools: upgrade 2.11.0 -> 2.11.2Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-18babeltrace: update to 1.5.8Anders Wallin
updated HOMEPAGE to http://babeltrace.org/ updated LICENSE to include LGPLv2.1 Signed-off-by: Anders Wallin <wallinux@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-04lttng-modules: update to 2.11.1He Zhe
Fix build failure with kernel v5.5. Remove patches as issues fixed upstream. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-28lttng-tools: disable tests that sporadically failAlexander Kanavin
Upstream is aware, and will investigate and fix. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-28lttng-tools: install additional scripts needed for ptestsAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-31lttng-ust: Turn examples into a packageconfigKhem Raj
examples are unbuildable in some cases, see [1] this helps in making them optional via the newly addded configure option in 2.11 release [1] https://bugs.lttng.org/issues/1132 [2] https://patchwork.ozlabs.org/patch/832106/ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-28lttng-modules: update to 2.11.0Alexander Kanavin
License-Update: formatting, dropped the gpl texts, as they're not anymore in source tree, and the main file is specific enough. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-12-28lttng-ust: update to 2.11.0Alexander Kanavin
Remove patch as issue addressed upstream. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-12-28lttng-tools: update to 2.11.0Alexander Kanavin
Remove 0001-Skip-when-testapp-is-not-present.patch as it is unclear whether it needs to be rebased, and difficult to rebase. Remove 0001-check-for-gettid-API-during-configure.patch as it is no longer needed. Ptests still seem to run ok, however they are rather slow, so I did not wait for their completion. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-12-16lttng-modules: fix NULL pointer deference error when testing rpc_task_runningQuanyang Wang
This is a backport from upstream https://github.com/lttng/lttng-modules.git stable-2.10 to fix NULL pointer deference error when running kts testcase lttng_syscall_events. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-10-02lttng-ust: update patch Signed-off-byRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-09-27lttng-ust: Fix for --enable-python-agentRobert Yang
Fixed: PACKAGECONFIG_append_pn-lttng-ust = ' python3-agent' require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" $ bitbake lttng-ust ERROR: lttng-ust-2_2.10.4-r0 do_package: QA Issue: lttng-ust: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/python3.7 /usr/lib/python3.7/site-packages /usr/lib/python3.7/site-packages/lttngust-2.10.4-py3.7.egg-info Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-19lttng-ust: Upgrade 2.10.4 -> 2.10.5Adrian Bunk
Remove patch for issue fixed upstream. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-19lttng-modules: Upgrade 2.10.10 -> 2.10.11Adrian Bunk
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-16lttng-modules: Add missing SRCREV_FORMATDaniel Gomez
When using devupstream class the SRCREV_FORMAT variable must be set. Signed-off-by: Daniel Gomez <daniel@qtec.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-07-29lttng-tools: Fix build with glibc 2.30Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-27lttng-ust: Check for gettid libc APIKhem Raj
Fixes build with glibc 2.30 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30babeltrace: update to 1.5.7Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21lttng-tools: update to 2.10.7Jonathan Rajotte
Remove upstreamed patches. Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19lttng-tools: Filter ptest output to remove random tmp directoriesRichard Purdie
These tmp paths end up in the test names making it hard to compare test runs so filter them out, they're not useful for our purposes. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19lttng-ust:upgrade 2.10.3 -> 2.10.4Zang Ruochen
-Upgrade from lttng-ust_2.10.3.bb to lttng-ust_2.10.4.bb. -lttng-ust/0001-compat-work-around-broken-_SC_NPROCESSORS_CONF-on-MU.patch Removed since this is included in 2.10.4 Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18lttng-modules: Add git based recipeHe Zhe
The git based recipe is for those who want to build lttng-modules with bleeding edge kernel, to avoid regularly backporting patches from upstream. Note that PREFERRED_VERSION needs to be set to select the git recipe instead of the tar ball one. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14lttng-modules: Upgrade 2.10.9 -> 2.10.10Adrian Bunk
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07Remove manual RDEPENDS from PN-ptest to PN packageAdrian Bunk
They are now added automatically by the ptest class. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-28lttng-tools: Fix patch Upstream-StatusRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27lttng-tools: add lttng-modules to ptest dependenciesJonathan Rajotte
The lttng-tools project is essentially a "tracer" controller, the tests depends heavily on lttng-ust and lttng-modules presence. Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27lttng-tools: prevent test timeout when lttng-modules is not presentJonathan Rajotte
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12lttng-modules: upgrade 2.10.8 -> 2.10.9Adrian Bunk
Remove the backported patches. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26lttng-tools: Add missing patch Upstream-StatusRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23lttng-tools: fix Upstream-StatusRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-05lttng-ust: lttng-ust works fine on musl no need to remove itJonathan Rajotte
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-05lttng-ust: backport musl workaroundJonathan Rajotte
musl implementation for _SC_NPROCESSORS_CONF is a bit fishy. [1] https://www.openwall.com/lists/musl/2019/03/15/5 Anyway, we implemented a fallback. This patch should be gone by next recipe update. Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-05lttng-tools: improve ptest and test suiteJonathan Rajotte
Multiple patches are to be applied to improve the current ptest suite. 0001-Fix-tests-link-libpause_consumer-on-liblttng-ctl.patch 0002-Fix-test-skip-test_getcpu_override-on-single-thread-.patch 0003-Fix-test-unit-the-tree-origin-can-be-a-symlink-itsel.patch 0006-Tests-check-for-lttng-modules-presence.patch All deal with problem in the test suite. Most of these are already accepted upstream and will be removed on the next recipe update. 0004-Skip-when-testapp-is-not-present.patch Is a OE specific fix that make sure that we skip the test if the test util application (event generator) is not present. We are still unsure on how (upstream) we are going to solve this problem. We already have this problem if a user build lttng without lttng-ust (--without-lttng-ust). We will most probably end up splitting each test into kernel and userspace tests and adjust the makefile accordingly. Another option is to probe lttng for enabled function at runtime. 0005-Tests-use-modprobe-to-test-for-the-presence-of-lttng.patch Is a requirement for 0006 that should be accepted upstream shorlty. 0007-Fix-getgrnam-is-not-MT-Safe-use-getgrnam_r.patch Fixes a race found while testing OE built with musl. This is a legit bug. The fixes or a variant should be accepted soon. Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>