summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng
AgeCommit message (Collapse)Author
2021-06-08lttng-tools: upgrade 2.12.3 -> 2.12.4Richard Purdie
Add a new lttng file to one of the tests to avoid test failures. Also add a dependency on grep since standalone testing revealed test failures without this. Normally this was added by other dependencies in the ptest images so we didn't see this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16lttng-ust: Upgrade 2.12.1 -> 2.12.2Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16lttng-modules: update to v2.12.6Bruce Ashfield
To support building against v5.12+ and v5.13+ kernels, bumping to the v2.12.6 lttng-release. We drop the previously backported patches, and bring in the following commits: 0d8e4ab9 Version 2.12.6 78f56ae3 fix: adjust ranges for RHEL 8.2 and 8.3 4c996ea7 Disable block rwbs bitwise enum in default build 4ac46085 Disable sched_switch bitwise enum in default build 5e22c27b Add experimental bitwise enum config option 937d307e Add defaults to Kconfig options 4a114d43 Sync `show_inode_state()` macro with upstream stable kernels 3bd6ac3e fix: block: remove disk_part_iter (v5.12) 8bbb8c9d Fix: Backport of "Fix: increment buffer offset when failing to copy from user-space" 30cddf69 Fix: increment buffer offset when failing to copy from user-space 4733b9ab Sync `show_inode_state()` macro with Ubuntu 4.15 kernel ff21ec48 fix: mm, tracing: kfree event name mismatching with provider kmem (v5.12) b2b02c29 Set 'stable-2.12' branch in git review config 00b42dbf fix backport: block: add a disk_uevent helper (v5.12) 771ff089 fix: Adjust ranges for Ubuntu 5.4.0-67 kernel d8933959 fix: block: add a disk_uevent helper (v5.12) 71034df1 Fix: properly compare type enumeration 4d879d23 compiler warning cleanup: is_signed_type: compare -1 to 1 fead3a9c Fix: bytecode linker: validate event and field array/sequence encoding 92cc3e7f Fix: kretprobe: null ptr deref on session destroy 49c603ef fix: mm, tracing: record slab name for kmem_cache_free() (v5.12) 23a2f61f Fix: filter interpreter early-exits on uninitialized value b3fdf78b Fix: memory leaks on event destroy Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16lttng-modules: update devupstream to v2.13-rcBruce Ashfield
To support builds against v5.13+ kernels, bumping the devupstream to 2.13 and the 2.13-rc series. Along with the SRCREV update, a port of the existing CONFIG_TRACEPOINTS patch from the main Makefile to src/Kbuild is done. The LICENSE file was part of commit [Cleanup: Move headers from toplevel to include/lttng/], so we adjust the checksum to the new fie contents. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09lttng-modules: backport patches to fix build against 5.12+ kernelVinícius Ossanes Aquino
Add the following patches from stable-2.12 branch of lttng repository to fix errors when building lttng-modules against 5.12+ kernel since they are not present on the release 2.12.5: - 17cd2dc9 fix: block: add a disk_uevent helper (v5.12) - 127135b6 fix backport: block: add a disk_uevent helper (v5.12) - 853d5903 fix: mm, tracing: kfree event name mismatching with provider kmem (v5.12) Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18lttng-tools: Fix path for test_python_loogingAnders Wallin
" was missing Signed-off-by: Anders Wallin <anders.wallin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18lttng-tools: Fix missing legacy test filesAnders Wallin
tests/regression/tools/save-load Signed-off-by: Anders Wallin <anders.wallin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18babeltrace2: upgrade 2.0.3 -> 2.0.4Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20lttng-modules: backport patches to fix build against 5.12+ kernelBruce Ashfield
There are four changes in addition to the 2.12.5 release that we need to build against the 5.12 kernel. Rather than only rely on people knowing to use devupstream support to build against newer kernels, we backport the 4 patches while waiting for release. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20lttng-modules: update devupstream to 2.12.5+Bruce Ashfield
When building against kernel v5.12-rc+, we need extra changes on top of the 2.12.5 release. We can bump devupstream separately from the main release to grab those changes. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-16lttng-modules: upgrade 2.12.4 -> 2.12.5Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-16lttng-tools: upgrade 2.12.2 -> 2.12.3Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02recipes-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>
2021-03-02lttng: Fix reproducibility issuesRichard Purdie
Add a hack to hardcode in specific rpaths which we then remove, allowing the build to be reproducible. Strip build patches out of one of the test scripts too. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23babeltrace2: Fix reproducibilityRichard Purdie
babeltrace2-ptest was referencing the host's python version in it's makefiles. Whilst this could be fixed, its easier to correct the python version being found to the target one which works much more effectively and solves the issue. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23lttng-ust: upgrade 2.12.0 -> 2.12.1Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-17lttng-modules: Drop gcc7 related patchRichard Purdie
We'd appear to be past the need for a gcc7 patch from 3 years ago now. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-17lttng-modules: Upgrade 2.12.3->2.12.4Richard Purdie
Drop backported patches. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18lttng-modules: fix build against v5.10+Bruce Ashfield
lttng-modules doesn't currently build against the lastest 5.10-rc versions. Upstream lttng does have fixes for the issues, but hasn't done a release that contains them yet. There are other patches on the 2.12.x branch, but I've skipped them for now as they aren't necessary for 5.10 builds, and can be picked up with the next full update. We also bump the dev-upstream hash to make them easier to pickup for those building from git. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18lttng-tools: disable more failing ptestsAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24lttng-modules: Backport a patch to fix btrfs build failureHe Zhe
lttng-modules-2.12.3/probes/lttng-probe-btrfs.c:36: lttng-modules-2.12.3/probes/../probes/lttng-tracepoint-event-impl.h:131:6: error: conflicting types for 'trace_find_free_extent' Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30lttng-modules: update 2.12.2 -> 2.12.3Alexander Kanavin
Drop a pile of backports. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-14lttng-modules: backport patches from 2.12.x to fix 5.4.64+ and 5.8.9+ buildsJens Rehsack
Backporting the 10 patches since the lttng 2.12.2 release. We'll drop them once .3 is released, but for now, we need the fixes to build against the latest 5.4, 5.8 and 5.9 kernels. We also bump the devupstream SRCREV to pickup the same changes. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-09-02lttng-modules/devupstream: bump to latest 2.12 commitsBruce Ashfield
Updating lttng-devupstream so we can build against kernel 5.9+ Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02lttng-tools: lttng-ust works on riscv64Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-27lttng: Move platform logic to dedicated inc fileRichard Purdie
Some platforms support kernel tracing, some support userspace tracing. This change: * Moves the knowledge/config to one place in an inc file * Allows lttng-tools to build without lttng-modules * Hence enables tools+ust for riscv64 * Has the packagegroup just depend on lttng-tools which will pull in ust/modules as needed Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26lttng-tools: Do not build for riscv64Khem Raj
Since lttng-modules are not buildable, there is no point of building tools either Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26lttng-modules: Disable on riscv64Khem Raj
Kernel 5.8+ and lttng requires kprobes and riscv64 lacks kprobes Invert the COMPATIBLE_HOST regexp, as we support most of arches Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18lttng-tools: upgrade 2.12.1 -> 2.12.2Richard Purdie
Drop patch merged upstream. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06lttng-modules: update to 2.12.2 (fixes v5.8+ builds)Bruce Ashfield
Updating to the 2.12.2 lttng-modules release. This is the standard collection of bug fixes as well as changes to support building against the v5.8 kernel. Changelog follows: 2020-08-04 (National Chocolate Chip Cookie Day) LTTng modules 2.12.2 * Fix: Lock metadata cache on session destroy * Fix: metadata stream leak, missing list removal and locking * Fix: coherent state not changed atomically with metadata written * fix: include module.h for EXPORT_SYMBOL_GPL * fix: __lttng_vmalloc_node_range const caller introduced in v3.6 * fix: version range for overflow_callback * fix: global_dirty_limit was introduced in v3.1 * fix: wrapper_uprobe_unregister is a void function * fix: prior to v4.0, __vmalloc_node_range had no vm_flags param * fix: vmalloc on v5.8 without KALLSYMS * Detect missing symbols used with kallsyms_lookup at compile time * Use exported symbol bdevname() instead of disk_name() * Add git-review config * fix: mm: remove vmalloc_sync_(un)mappings() (v5.8) * fix: mm/writeback: discard NR_UNSTABLE_NFS, use NR_WRITEBACK (v5.8) * fix: block: remove the error argument to the block_bio_complete (v5.8) * fix: pipe_buf_operations rework (v5.8) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08lttng-modules: bump devupstream to v2.12.1+Bruce Ashfield
To build against the v5.8-rc kernels, we need to pickup the latest lttng-modules commits. Bumping the devupstream version and SRCREV to do just that. Validated against v5.8-rc4. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-08lttng-modules: update to 2.12.1Alexander Kanavin
Drop backports. devupstream variant was incorrectly updated in a059fc67da4 (changed to 2.12, but without updating SRCREV), so revert it back to 2.11.2. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-08lttng-tools: upgrade 2.12.0 -> 2.12.1Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-08babeltrace2: upgrade 2.0.2 -> 2.0.3Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-03babeltrace: 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>
2020-05-19lttng-tools: upgrade to 2.12.0Ovidiu Panait
Upgrade lttng-tools 2.11.2 -> 2.12.0: * drop x32 patch, as it was merged upstream * update ptest file mi-lttng-3.0.xsd -> mi-lttng-4.0.xsd * add local patch to fix ptest build failure on musl * License-Update: licenses were moved under LICENSES directory and changed in upstream commit [1] [1] https://github.com/lttng/lttng-tools/commit/ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18lttng-modules: Fix "LTTng: vmalloc_sync_all symbol lookup failed" warningsOvidiu Panait
Fix the following warnings introduced after backporting linux kernel commit [1] to stable branches: # lttng create session ... [ 483.242037] LTTng: vmalloc_sync_all symbol lookup failed. [ 483.257056] Page fault handler and NMI tracing might trigger faults. ... These patches should be dropped when a new stable 12.0 release is available. [1] https://github.com/torvalds/linux/commit/763802b53a427ed3cbd419dbba255c414fdd9e7c Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18lttng-ust: upgrade to 2.12.0Ovidiu Panait
Upgrade lttng-ust 2.11.1 -> 2.12.0. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18lttng-modules: upgrade to 2.12.0Ovidiu Panait
Upgrade lttng-modules 2.11.2 -> 2.12.0. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>