summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng
Commit message (Collapse)AuthorAgeFilesLines
* lttng-modules: fix build with 5.4.229 kernelSteve Sakoman2023-02-132-0/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: In file included from TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../probes/define_trace.h:87, from TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../instrumentation/events/lttng-module/jbd2.h:183, from TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/lttng-probe-jbd2.c:29: TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../probes/lttng-tracepoint-event-impl.h:130:6: error: conflicting types for 'trace_jbd2_run_stats' 130 | void trace_##_name(_proto); | ^~~~~~ TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../probes/lttng-tracepoint-event-impl.h:42:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP' 42 | LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../probes/lttng-tracepoint-event-impl.h:84:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP' 84 | LTTNG_TRACEPOINT_EVENT_MAP(name, name, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../instrumentation/events/lttng-module/jbd2.h:107:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT' 107 | LTTNG_TRACEPOINT_EVENT(jbd2_run_stats, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from TOPDIR/tmp/work-shared/qemuarm/kernel-source/include/trace/events/jbd2.h:9, from TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/lttng-probe-jbd2.c:18: TOPDIR/tmp/work-shared/qemuarm/kernel-source/include/linux/tracepoint.h:243:21: note: previous definition of 'trace_jbd2_run_stats' was here 243 | static inline void trace_##name(proto) \ | ^~~~~~ TOPDIR/tmp/work-shared/qemuarm/kernel-source/include/linux/tracepoint.h:406:2: note: in expansion of macro '__DECLARE_TRACE' 406 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ TOPDIR/tmp/work-shared/qemuarm/kernel-source/include/linux/tracepoint.h:542:2: note: in expansion of macro 'DECLARE_TRACE' 542 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ TOPDIR/tmp/work-shared/qemuarm/kernel-source/include/trace/events/jbd2.h:234:1: note: in expansion of macro 'TRACE_EVENT' 234 | TRACE_EVENT(jbd2_run_stats, | ^~~~~~~~~~~ CC [M] TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/lttng-probe-ext4.o Backport from upstream master branch fixes: https://github.com/lttng/lttng-modules/commit/b28830a0dcdf95ec3e6b390b4d032667deaad0c0 https://github.com/lttng/lttng-modules/commit/4fd2615b87b3cac0fd5bdc5fc82db05f6fcfdecf https://github.com/lttng/lttng-modules/commit/612c99eb24bf72f4d47d02025e92de8c35ece14e Note that master branch upstream has restructured the location of header files, so the patches do not apply cleanly. This patch combines the changes in the above commits in the old header location. (From OE-Core rev: 520d957e14be77f73c82a295f685d189381d8f72) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update 2.11.8 -> 2.11.9Steve Sakoman2023-02-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2021-05-14 (National Dance Like a Chicken Day) LTTng modules 2.11.9 * fix: adjust ranges for RHEL 8.2 and 8.3 * Sync `show_inode_state()` macro with upstream stable kernels * fix: block: remove disk_part_iter (v5.12) * Fix: Backport of "Fix: increment buffer offset when failing to copy from user-space" * Fix: increment buffer offset when failing to copy from user-space * Sync `show_inode_state()` macro with Ubuntu 4.15 kernel * fix: mm, tracing: kfree event name mismatching with provider kmem (v5.12) * Set 'stable-2.11' branch in git review config * fix backport: block: add a disk_uevent helper (v5.12) * fix: Adjust ranges for Ubuntu 5.4.0-67 kernel * fix: block: add a disk_uevent helper (v5.12) * Fix: properly compare type enumeration * compiler warning cleanup: is_signed_type: compare -1 to 1 * Fix: bytecode linker: validate event and field array/sequence encoding * Fix: kretprobe: null ptr deref on session destroy * fix: mm, tracing: record slab name for kmem_cache_free() (v5.12) * Fix: filter interpreter early-exits on uninitialized value * Fix: memory leaks on event destroy (From OE-Core rev: 146cc298e9dcb9ea7fe54669899accafee123e46) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update 2.11.7 -> 2.11.8Steve Sakoman2023-02-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2021-02-17 (Random Act of Kindness Day) LTTng modules 2.11.8 * fix: Adjust ranges for Ubuntu 5.8.0-44 kernel * Fix: do not use bdi_unknown_name symbol * fix: memcg: fix a crash in wb_workfn when a device disappears (5.6) * Fix: writeback: out-of-bound reads * fix: Add one digit to RHEL major release version * fix: Add one digit to SLES minor release version * fix: RT_PATCH_VERSION is close to overflow * fix: cast LTTNG_KERNEL_VERSION/LTTNG_LINUX_VERSION_CODE to uint64_t * fix: UTS_UBUNTU_RELEASE_ABI is close to overflow * fix: sublevel version overflow in LINUX_VERSION_CODE * Namespace kernel version macros * aarch64: blacklist gcc prior to 5.1 * fix: missing include for 'task_struct' in fdtable.h * fix: genirq: Restrict export of irq_to_desc() (v5.11) * fix: block: merge struct block_device and struct hd_struct (v5.11) * fix: kprobes: Remove kretprobe hash (v5.11) * fix: file: Rename fcheck lookup_fd_rcu (v5.11) * fix: block: remove the request_queue argument to the block_bio_remap tracepoint (v5.11) * fix: block: remove the request_queue argument to the block_split tracepoint (v5.11) * fix: block: simplify and extend the block_bio_merge tracepoint class (v5.11) * fix: block: remove the request_queue to argument request based tracepoints (v5.11) (From OE-Core rev: fa1056f62017ea764b494c41cc7cdaefe0a80fb6) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update 2.11.6 -> 2.11.7Steve Sakoman2023-02-1317-1569/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2021-01-11 (National Clean Off Your Desk Day) LTTng modules 2.11.7 * fix: adjust version range for trace_find_free_extent() * fix: backport of fix: tracepoint: Optimize using static_call() (v5.10) * Revert "fix: include order for older kernels" * fix: backport of fix: ext4: fast commit recovery path (v5.10) * Improve the release script * Add release maintainer script * fix: include order for older kernels * fix: tracepoint: Optimize using static_call() (v5.10) * fix: KVM: x86/mmu: Return unique RET_PF_* values if the fault was fixed (v5.10) * fix: kvm: x86/mmu: Add TDP MMU PF handler (v5.10) * fix: KVM: x86: Add intr/vectoring info and error code to kvm_exit tracepoint (v5.10) * fix: ext4: fast commit recovery path (v5.10) * fix: btrfs: make ordered extent tracepoint take btrfs_inode (v5.10) * fix: btrfs: tracepoints: output proper root owner for trace_find_free_extent() (v5.10) * fix: objtool: Rename frame.h -> objtool.h (v5.10) * fix: strncpy equals destination size warning Remove patches now included in 2.11.7 (From OE-Core rev: f3c18d4eda42debf40dcd7de02b2f761c476dcca) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: Backport Linux 5.18+, 5.15.44+, 5.10.119+ fixesMarek Vasut2022-07-084-0/+145
| | | | | | | | | | | | | | | | | | | | | | | | The Linux kernel commit 14c174633f349 ("random: remove unused tracepoints") removed unused tracepoints and has been backported to stable Linux kernel releases. This causes build failure of lttng-modules: " lttng-modules-2.11.6/probes/lttng-probe-random.c:18:10: fatal error: trace/events/random.h: No such file or directory | 18 | #include <trace/events/random.h> | | ^~~~~~~~~~~~~~~~~~~~~~~ | compilation terminated. " Backport patches from lttng-modules master branch to address the build failure on all of Linux 5.18.y, 5.15.y 5.10.y, 5.4, 4.19, 4.14, and 4.9 kernel versions. (From OE-Core rev: 9f301f5563df868626d624c2d0781dae1b81a4c0) Signed-off-by: Marek Vasut <marex@denx.de> Cc: Bruce Ashfield <bruce.ashfield@gmail.com> Cc: Steve Sakoman <steve@sakoman.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Add missing DEPENDS on bison-nativeRichard Purdie2022-01-251-1/+1
| | | | | | | | | | | | | This was being provided by other pieces of the dependency chain but is specifically required by configure and could fail if those pieces come from sstate. Fix such builds by adding the missing dependency. (From OE-Core rev: 32dd9e93c8a49c07d28c8bf240145c9e48864de7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ba2587beb2a3fb0ef9139f846e161542d2c5c4ae) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: do not search in non-existing folder during installAndrey Zhizhikin2021-12-141-1/+3
| | | | | | | | | | | | | | | | | | | | When CONFIG_TRACEPOINTS is not enabled in kernel config - module compilation is skipped, which causes the ${D}/${nonarch_base_libdir} not to be created. This fails later in do_install:append() due to the fact that find command in executed for non-existing folder. Check for folder existence before find command in executed. (From OE-Core rev: db8a8b53f440f37731c7c5db9561ac46ef59d891) Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit de0aa1700ed4e6f04b0a233eb1f6d2ac598e7ed8) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-kernel: Add missing HOMEPAGE and DESCRIPTION for recipes.Meh Mbeh Ida Delphine2021-03-182-0/+2
| | | | | | | | | | | | Fixes: [YOCTO #13471] (From OE-Core rev: 245d5fe05c102ff3551d8c5e59d836255a38a8a8) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: add post 2.11.6 patchesBruce Ashfield2020-12-0917-0/+1567
| | | | | | | | | | | | | | | 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. (From OE-Core rev: ea7e3c47af4191e69d54fc519865d125ed61d8eb) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: update to 2.11.1Marek Vasut2020-10-151-2/+2
| | | | | | | | | | | | Update to latest available. (From OE-Core rev: 2d9c34f2dd0a2d22d251d4375d8be86f88044f1e) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: update to 2.11.5Marek Vasut2020-10-151-2/+2
| | | | | | | | | | | | Update to latest available. (From OE-Core rev: a2c43b5e52708c013559a0ee9529efe5635e50d3) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update to 2.11.6Marek Vasut2020-10-151-2/+2
| | | | | | | | | | | | Update to latest available. (From OE-Core rev: 3ba57b15b1eeb0756ab9bc6b317ead1a7a08d226) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "lttng-modules: backport writeback.h changes from 2.12.x to fix ↵Steve Sakoman2020-10-152-132/+3
| | | | | | | | | | | | | kernel 5.4.62+" We'll be using an upstream version bump instead of this backport This reverts commit 348c666b2dca230308c8462dac2117b04cca6ae7. (From OE-Core rev: 49ab42d4dc93cee75ac7e9b3a4623ff1f42b306f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: backport writeback.h changes from 2.12.x to fix kernel 5.4.62+Bruce Ashfield2020-10-062-3/+132
| | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 348c666b2dca230308c8462dac2117b04cca6ae7) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: correct the git SRC_URIAlexander Kanavin2020-07-222-2/+2
| | | | | | | | | | | | The previous one seems to be gone. (From OE-Core rev: 5dd3d61c5c739f31cb87a3c0c924c617b432e8a9) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: upgrade 2.11.0 -> 2.11.1Richard Purdie2020-03-211-2/+2
| | | | | | (From OE-Core rev: f0bf8052f18dafeece364204826bc0492c502708) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update to 2.11.2Daniel Dragomir2020-03-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) (From OE-Core rev: 8fcc33aea08fc1e82818893feb7b01c7cc1e6416) Signed-off-by: Daniel Dragomir <Daniel.Dragomir@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace2: updated to 2.0.2Anders Wallin2020-03-131-1/+1
| | | | | | | (From OE-Core rev: b1ae2178fa188b2864280f2c3a9ba443e042cae0) Signed-off-by: Anders Wallin <wallinux@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace2: initialize the other_entry pointerMingli Yu2020-03-122-0/+34
| | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 1b98db372a1fdaecf9bb897b0ee4b2e72af22f81) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babletrace2: make manpages multilib identicalJeremy Puhlman2020-03-122-0/+29
| | | | | | | (From OE-Core rev: 67d38c62b4a02a1ee1b6d751fa0f2483dafa2fb1) Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace2: added first version, 2.0.1Anders Wallin2020-03-063-0/+129
| | | | | | | | | | | | | | | | | 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. (From OE-Core rev: be52889ba5e5a2cf02f50b3f3acee8ca72ec494d) Signed-off-by: Anders Wallin <wallinux@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: only check latest git tag version for 1.x.xAnders Wallin2020-03-061-1/+1
| | | | | | | | | version 2.x.x will be added with a new babeltrace2 recipe (From OE-Core rev: 0616a5dbc61561fefcd1822ce263837437466df2) Signed-off-by: Anders Wallin <wallinux@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: exclude one more test that sporadically failsAlexander Kanavin2020-02-251-5/+10
| | | | | | | (From OE-Core rev: d06ea31f51de19056713377a2f0e9bdcccbd96d5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: added ptestAnders Wallin2020-02-212-2/+89
| | | | | | | (From OE-Core rev: b266a1ac662405e5bab98657c30b1a13cd86d046) Signed-off-by: Anders Wallin <wallinux@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: upgrade 2.11.0 -> 2.11.2Richard Purdie2020-02-211-2/+2
| | | | | | (From OE-Core rev: 712a634c61ebc7ebda2669daf21460394f6ac2cd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: update to 1.5.8Anders Wallin2020-02-181-3/+3
| | | | | | | | | | updated HOMEPAGE to http://babeltrace.org/ updated LICENSE to include LGPLv2.1 (From OE-Core rev: 7c88483a32ded0f94165aced25ac604de43b8ef7) Signed-off-by: Anders Wallin <wallinux@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update to 2.11.1He Zhe2020-02-045-383/+6
| | | | | | | | | | Fix build failure with kernel v5.5. Remove patches as issues fixed upstream. (From OE-Core rev: d313e49e1d1cee4bbc24650e60b8ec56700e9e1f) Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: disable tests that sporadically failAlexander Kanavin2020-01-282-0/+30
| | | | | | | | | Upstream is aware, and will investigate and fix. (From OE-Core rev: 96c286a1b2f9fc8e8bf4fb29ae62551a323af5c3) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: install additional scripts needed for ptestsAlexander Kanavin2020-01-281-1/+1
| | | | | | | (From OE-Core rev: fec25d9bfd7119d6ccccadd5109b8a09683fba5e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: Turn examples into a packageconfigKhem Raj2020-01-011-0/+1
| | | | | | | | | | | | | | 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/ (From OE-Core rev: 37c9c50a00949442419173bcbdce8ee1714eed23) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update to 2.11.0Alexander Kanavin2019-12-281-6/+3
| | | | | | | | | | | License-Update: formatting, dropped the gpl texts, as they're not anymore in source tree, and the main file is specific enough. (From OE-Core rev: 15ca6acb87299ffc770d35b075024f0ccaace61f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: update to 2.11.0Alexander Kanavin2019-12-282-21/+5
| | | | | | | | | | Remove patch as issue addressed upstream. (From OE-Core rev: 0d35cf40fd0e80513036a1d741a744f40a399bc0) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: update to 2.11.0Alexander Kanavin2019-12-285-695/+35
| | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 015aea5d93614676decd18578a8ae2d68417cfc5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: fix NULL pointer deference error when testing rpc_task_runningQuanyang Wang2019-12-165-0/+377
| | | | | | | | | | 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. (From OE-Core rev: a522ccff838ba1577255c90e64d98dd75470fb0a) Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: update patch Signed-off-byRoss Burton2019-10-021-1/+1
| | | | | | | (From OE-Core rev: 402eef252385b391d1b60fc77d758cc4c8de1b3c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: Fix for --enable-python-agentRobert Yang2019-09-302-0/+32
| | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: d1b1bfece08ae32c120844d73aadee96de7bbf9b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: Upgrade 2.10.4 -> 2.10.5Adrian Bunk2019-09-192-60/+2
| | | | | | | | | Remove patch for issue fixed upstream. (From OE-Core rev: 1c8201da33174368fe7143047147d7c5aab0d224) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: Upgrade 2.10.10 -> 2.10.11Adrian Bunk2019-09-191-2/+2
| | | | | | | (From OE-Core rev: daf55a989c8bb4a559d75c30ed85b135ec14d5fd) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: Add missing SRCREV_FORMATDaniel Gomez2019-09-161-0/+1
| | | | | | | | | | When using devupstream class the SRCREV_FORMAT variable must be set. (From OE-Core rev: 5d27db85d269f576929fd3c81f94e54d894cdf69) Signed-off-by: Daniel Gomez <daniel@qtec.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Fix build with glibc 2.30Khem Raj2019-07-312-0/+56
| | | | | | | (From OE-Core rev: 5abaf2a5c1e8707189c5f607a19170e031e1c480) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: Check for gettid libc APIKhem Raj2019-07-272-0/+58
| | | | | | | | | Fixes build with glibc 2.30 (From OE-Core rev: 206e6e4d981331bdbbded4d176fe5100730039bb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: update to 1.5.7Oleksandr Kravchuk2019-06-301-1/+1
| | | | | | | (From OE-Core rev: 2743f3ae192f84be6b216e5d33928e123e82007d) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: update to 2.10.7Jonathan Rajotte2019-06-219-728/+4
| | | | | | | | | Remove upstreamed patches. (From OE-Core rev: 4bd46974d5b80050a031688ecefa9e60df793163) Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Filter ptest output to remove random tmp directoriesRichard Purdie2019-06-202-2/+2
| | | | | | | | | 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. (From OE-Core rev: dc47b3855d03af962bab176c7aed9bd47426b419) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust:upgrade 2.10.3 -> 2.10.4Zang Ruochen2019-06-192-112/+2
| | | | | | | | | | | | -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 (From OE-Core rev: dc25e9525495e00940da7716cbba6bca96423acd) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: Add git based recipeHe Zhe2019-06-181-1/+10
| | | | | | | | | | | | | 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. (From OE-Core rev: 18dd8e719f7c845d7e4bb1148ef6adad80a9493e) Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: Upgrade 2.10.9 -> 2.10.10Adrian Bunk2019-06-151-2/+2
| | | | | | | (From OE-Core rev: 80f453da04e43cab82999249be0a9dd95322a06e) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove manual RDEPENDS from PN-ptest to PN packageAdrian Bunk2019-06-071-1/+1
| | | | | | | | | They are now added automatically by the ptest class. (From OE-Core rev: 25cf1820122bb2b15057aafe1c9e04a733f81bcf) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Fix patch Upstream-StatusRichard Purdie2019-05-281-3/+1
| | | | | | (From OE-Core rev: 1a29a9e184f6b8f6971de8e964e0e60ab906f34e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: add lttng-modules to ptest dependenciesJonathan Rajotte2019-05-271-1/+1
| | | | | | | | | | The lttng-tools project is essentially a "tracer" controller, the tests depends heavily on lttng-ust and lttng-modules presence. (From OE-Core rev: f50483cef0a65f3098018600276fba70195643da) Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>