summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng
Commit message (Collapse)AuthorAgeFilesLines
* lttng-tools: update to 2.9.11Jonathan Rajotte-Julien2019-03-242-11/+10
| | | | | | | | | | | Update 0001-Allow-multiple-attempts-to-connect-to-relayd.patch chunk accordingly. (From OE-Core rev: eb9668b5db2d61a25e47e77f4c35ba4e4b62c2cd) Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update to 2.10.9Jonathan Rajotte-Julien2019-03-242-70/+2
| | | | | | | | | | | | Drop patch [1] since it is part of the 2.10.9 release. [1] lttng-modules/0001-Fix-net-expose-sk-wmem-in-sock_exceed_buf_limit-trac.patch (From OE-Core rev: b565ec33b908542b26527f3301672b4e3af6544c) Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: update to 2.10.3Jonathan Rajotte-Julien2019-03-241-2/+2
| | | | | | | | (From OE-Core rev: 13cc1e7a9cd58b35044f8474b5b8601ea63b03f4) Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: Fix build failure by syncing up with kernel 4.19He Zhe2018-10-102-0/+68
| | | | | | | | | | | | | | | | linux-yocto-dev has been upreved to v4.19. This patch backports a patch from upstream to make lttng-modules sync up with linux-yocto-dev and later linux-yocto, and fix the following do_compile error. | tmp/work/qemux86_64-poky-linux/lttng-modules/2.10.7-r0/lttng-modules-2.10.7/probes/../probes/lttng-tracepoint-event-impl.h:143:6: error: conflict ing types for 'trace_sock_exceed_buf_limit' | void trace_##_name(_proto); | ^~~~~~ (From OE-Core rev: d06b7fd291076a423a83b9630471baeaef9d4f43) Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babetrace: update to 1.5.6Alexander Kanavin2018-09-101-1/+1
| | | | | | | (From OE-Core rev: 7d1d6fed774cf8e67e2c9891b7bf835a255229ab) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: add systemd supportKai Kang2018-09-052-1/+20
| | | | | | | | | | | | | | | | Add systemd service file of lttng-tools from Fedora ftp://fr2.rpmfind.net/linux/fedora/linux/development/rawhide /Everything/source/tree/Packages/l/lttng-tools-2.10.5-1.fc29.src.rpm It requires kernel configs CONFIG_STAGING and CONFIG_LTTNG2 to be set. But linux-yocto doesn't meet the requirement. So disable the service by default. (From OE-Core rev: 29bc046d705beb9dac2e70fa31358da7719ba7a4) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng: uprev to 2.10.7Bruce Ashfield2018-08-281-3/+3
| | | | | | | | | Uprev'ing lttng to 2.10.7 to support 4.18+ kernels. (From OE-Core rev: f63965c0f9fcb49f19a9c9fdf092c23bf6b85c10) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: Fix do_compile failure for btrfs related tracepointsHe Zhe2018-07-182-0/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | Building lttng-modules with linux-yocto-dev will cause do_compile failure: lttng-modules/2.10.6-r0/lttng-modules-2.10.6/probes/../probes/lttng-tracepoint-event-impl.h:143:6: error: conflicting types for 'trace_btrfs_reserve_extent' void trace_##_name(_proto); ^~~~~~ The following commit from latest mainline kernel changes some btrfs functions' prototype. 3dca5c942dac60164e6a6e89172f25b86af07ce7 "btrfs: trace: Remove unnecessary fs_info parameter for btrfs__reserve_extent event class" This patch backports a commit from upstream to meet the above changes. 51ab0b1da29354375a19f865abcd233dd2178295 "Fix: btrfs: Remove unnecessary fs_info parameter" (From OE-Core rev: c1daa5c0b89cdfab15d2fa093b021b2ce0937dad) Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Allow reconnect to relaydHe Zhe2018-07-092-0/+44
| | | | | | | | | | | | | | | | | | | | If relayd is started after connection attempt from consumerd it will leave the session in disconnected state and causes the following inconvenience. This is covered by an upstream feature, see https://bugs.lttng.org/issues/883. Before it's done, this patches allows users to reconnect to relayd. root@localhost:~# lttng enable-event --userspace --all Error: Events: UST create channel failed (channel channel0, session trace_session) root@localhost:~# lttng-relayd -b Warning: No tracing group detected root@localhost:~# lttng enable-event --userspace --all Error: Events: UST create channel failed (channel channel0, session trace_session) (From OE-Core rev: 6f0079a6c3cc8926423cff3a927a78dcecede90d) Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: upgrade 2.10.5 -> 2.10.6Richard Purdie2018-06-211-2/+2
| | | | | | (From OE-Core rev: 3ba2701c2cb837c4c8590604021c4a6c50bf894b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: fix upstream version checkAlexander Kanavin2018-05-291-0/+1
| | | | | | | | (From OE-Core rev: ec68ca923e90effb568aa397677ba39475e39536) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: move ASNEEDED over-ride into the babeltrace recipeAndre McCurdy2018-05-151-6/+6
| | | | | | | | | | | | | | | Move the recipe specific over-ride for ASNEEDED into the recipe to make it more apparent that the over-ride is being applied (and that it should be re-checked on version updates, etc). Also misc minor recipe cleanup (re-order variables to follow the OE style guide, etc). (From OE-Core rev: 6c08a062c151c2d2562016434f6f2125f2959fa6) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: switch over to gitAlexander Kanavin2018-05-081-3/+3
| | | | | | | | | Tarball directory is gone. (From OE-Core rev: d4319e6d6e10e0af49968704b42b13a4f4e414c5) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: update to 1.5.5Alexander Kanavin2018-05-041-2/+2
| | | | | | | (From OE-Core rev: c2d2763f42c38a892809c8c4cdf2d78efa8f07d3) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "lttng-tools: Upgrade 2.9.5 -> 2.10.2"Ross Burton2018-03-201-3/+3
| | | | | | | | | | | | | None of the test suite works, so something quite fundamental broke. [ YOCTO #12606 ] This reverts commit 406ea737f1ce5bb5fed46c8cbeb5c7c13bf3b8ad. (From OE-Core rev: 72a0b56757da98fcbf42bebb2f376738c68d3834) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Disable lttng for riscvKhem Raj2018-03-111-0/+1
| | | | | | | | (From OE-Core rev: 1e4e58d51498101e1e1b36fd4c3ad51052c15a6a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: refresh patchesRoss Burton2018-03-091-6/+5
| | | | | | | | | | | | | | | | | | | | | The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: c6ec48b718ae674a5b362a3dbfe02420a569ad30) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Upgrade 2.9.5 -> 2.10.2Richard Purdie2018-02-161-3/+3
| | | | | | | | | The kmod option was changed in configure so PACAGECONFIG is tweaked accordingly. (From OE-Core rev: de1bc2b80cf1a75822d0dde521073a890d2f1d22) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update to v2.10.5 for kernel 4.15Bruce Ashfield2018-02-151-2/+2
| | | | | | | | (From OE-Core rev: 7f00a5161889a422d83dc113521d9241fdd89abf) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: update to 1.5.4Alexander Kanavin2018-02-061-2/+2
| | | | | | | | (From OE-Core rev: 23f1e27877d48a59d357f4b21473ca3117628f5d) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: upgrade 2.9.5 -> 2.10.4Richard Purdie2018-01-181-4/+5
| | | | | | | | | LICENSE file contains a list of files and addtional files were added to the list, license was unchanged. (From OE-Core rev: f6372633b481fc267c1983a5276616513ec778a9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: upgrade 2.9.1 -> 2.10.1Richard Purdie2018-01-181-2/+2
| | | | | | (From OE-Core rev: 7c3ec9b7d21377ac3bc80de418615b00a23505b6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: Upgrade to 2.9.5 releaseOtavio Salvador2017-11-219-1150/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This upgrade is critical as it fixes the support for Linux 4.14 LTS kernel. The changlog is: 2017-10-05 LTTng modules 2.9.5 * Fix: update block instrumentation for 4.14 kernel * Revert "Fix: update block instrumentation for kernel 4.14" 2017-10-03 (National Techies Day) LTTng modules 2.9.4 * Fix: version check error in btrfs instrumentation * Fix: update btrfs instrumentation for kernel 4.14 * Fix: update writeback instrumentation for kernel 4.14 * Fix: update block instrumentation for kernel 4.14 * Fix: vmalloc wrapper on kernel < 2.6.38 * Fix: vmalloc wrapper on kernel >= 4.12 * Add kmalloc failover to vmalloc * Fix: mmap: caches aliased on virtual addresses * Fix: update ext4 instrumentation for kernel 4.13 * Fix: Sleeping function called from invalid context * Fix: sched for v4.11.5-rt1 * Fix: handle missing ftrace header on v4.12 This also removes the previously backported patches as they are part of 2.9.4 release and the missing fix is part of 2.9.5 release. (From OE-Core rev: 3ca3f8b2dbf0fec6a188ee2c10238704e4642c93) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: Backport fixes for kernel instrumentationOtavio Salvador2017-10-079-1/+1148
| | | | | | | | | | | | | | | | | | | | | | This backport fixes from upcoming 2.9.4 release. Those are: - Fix: vmalloc wrapper on kernel < 2.6.38 - Fix: vmalloc wrapper on kernel >= 4.12 - Add kmalloc failover to vmalloc - Fix: mmap: caches aliased on virtual addresses - Fix: update ext4 instrumentation for kernel 4.13 - Fix: Sleeping function called from invalid context - Fix: sched for v4.11.5-rt1 - Fix: handle missing ftrace header on v4.12 This fix failures in some BSP layers which are using Linux 4.13 already. (From OE-Core rev: 45ab93e74252f40dbe777000e1b33f4b3783536e) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: update to 1.5.3Alexander Kanavin2017-08-131-2/+2
| | | | | | | | (From OE-Core rev: 6fdd09358089acbb1b3bf00d3f10e91a8a34fe1c) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust_2.9.1.bb: set CVE_PRODUCT to ustMikko Rapeli2017-07-241-0/+2
| | | | | | | | | | | | It is used in NVD for CVE's like: https://nvd.nist.gov/vuln/detail/CVE-2010-3386 (From OE-Core rev: 1c6643f139911ab27618d20f9d4ca609235a680b) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update to 2.9.3Nathan Lynch2017-06-281-2/+2
| | | | | | | | | Miscellaneous fixes and support for 4.12-rc kernels. (From OE-Core rev: 65b7489f406e1d0a03a232f6e1ee3cf55a5f5bd2) Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: update to 2.9.5Nathan Lynch2017-06-281-2/+2
| | | | | | | | | Miscellaneous fixes. (From OE-Core rev: 4845551e4e5e73a51494109a41c64346c21cb109) Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: update to 2.9.1Nathan Lynch2017-06-281-2/+2
| | | | | | | | | Miscellaneous fixes. (From OE-Core rev: fa52a9a7051920521eed6c6d5dae9f8c6f749fe1) Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Fix malformed Upstream-Status tagsRoss Burton2017-06-271-1/+1
| | | | | | | | | | Fix a variety of spelling and format mistakes to improve the ease of reading the tags programatically. (From OE-Core rev: 6e1aaf80b0d951b48cd25cb7161ec19448295094) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update to 2.9.2Nathan Lynch2017-05-161-2/+2
| | | | | | | | | | This version bump adds support for Linux 4.11. (From OE-Core rev: feec4f2d77f66f4d7d1debd770a933a3107e9bd8) Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: work around GCC 7 changesNathan Lynch2017-05-112-1/+45
| | | | | | | | | | | | Avoid using LTTng's BUILD_RUNTIME_BUG_ON macro, as it appears to run into a similar problem as Linux experienced with __builtin_constant_p and dead code elimination. (From OE-Core rev: 22af48a50d40d6872adaa4f6b0bf144ef5781c1c) Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: Replace '/lib' with ${nonarch_base_libdir}Amarnath Valluri2017-03-221-2/+2
| | | | | | | | | | | Do not assume '/lib' for kernel modules location, instead use ${nonarch_base_libdir}. When 'usrmerge' is enabled, kernel modules are not located in /lib/modules, but /usr/lib/modules. (From OE-Core rev: d0f99c7f264fb99e7a940e9b02d27a418bafad27) Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: update to 2.9.4Nathan Lynch2017-03-042-39/+4
| | | | | | | | | | Drop upstreamed patch. (From OE-Core rev: 54bd5f79debf30606ce51a43ec3fd9d7c559889e) Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update to 2.9.1Nathan Lynch2017-03-041-2/+2
| | | | | | | | | | | This includes a significant fix for kernel tracing on 32-bit systems; kernel and user space events may be uncorrelated without it. (From OE-Core rev: 7776b51f22791542866789608a135cba83d8881d) Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: update to 1.5.2Alexander Kanavin2017-03-011-2/+2
| | | | | | | | (From OE-Core rev: 219915ceff629337bdab113db14f1efc86943d64) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: no need to delete libxml.m4Ross Burton2017-02-151-5/+0
| | | | | | | | | | The configure.ac uses pkg-config now and this macro doesn't exist in the tarball anymore, so remove the deletion. (From OE-Core rev: 371ec2cb0ed5b04082b29b949cb831d69a8ebb32) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: upgrade to 1.5.1Nathan Lynch2017-01-191-3/+2
| | | | | | | | (From OE-Core rev: c49d0a7741100c8864aa826f232a93311dcc7752) Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: upgrade to 2.9.3Nathan Lynch2017-01-195-155/+165
| | | | | | | | | | | | | | | | | Notable recipe changes: * switch to using release tarball * brokensep no longer required * drop upstreamed error.h patch * change do_install_ptest to selectively copy build artifacts to install tree. * use backported patch to address file-rdeps warning (From OE-Core rev: 0846aaa429a18557129579260ff09c0145aba903) Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: upgrade to 2.9.0Nathan Lynch2017-01-191-6/+4
| | | | | | | | | | Switch to using release tarballs. (From OE-Core rev: 7db8edbffdd29a01694add88d5a6988fab4511ad) Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: upgrade to 2.9.0Nathan Lynch2017-01-191-10/+3
| | | | | | | | | | | | | | | | | | | buildhistory-diff says: /usr/lib/liblttng-ust-python-agent.so.0 was removed /usr/lib/liblttng-ust-python-agent.so.0.0.0 was removed This is because prior versions of lttng-ust unconditionally built the Python agent libraries; this was fixed upstream in 21ddb8e ("Only build python lib when agent is enabled"). Switch to using release tarballs. (From OE-Core rev: a40bb2b7991adf5ef7121a45461747226c04bac1) Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: don't exclude manual pages from buildNathan Lynch2017-01-191-1/+1
| | | | | | | | | | | | Adding "manpages" to PACKAGECONFIG results in a lttng-ust-doc package with no manpages. Fix the patch we carry to only exclude the examples directory, which seems to have been its original intent anyway. (From OE-Core rev: 54d9fb2664d16a561f9e9232a53b60810678f9bf) Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: fix for x32Christopher Larson2017-01-092-0/+17
| | | | | | | | (From OE-Core rev: af0203f1543e444d4c9397c6b400ba627baf9574) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: update to 1.5.0Alexander Kanavin2016-12-171-2/+2
| | | | | | | | | | (From OE-Core rev: 08761df0559eca197121a27f8f5be1b48fc008cc) (From OE-Core rev: 5c5fc0e9209e08088c39d6d67607d74a62f1b7f6) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove True option to getVar callsJoshua Lock2016-12-161-2/+2
| | | | | | | | | | | | | getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) (From OE-Core rev: 7c552996597faaee2fbee185b250c0ee30ea3b5f) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: do not install shared libraries in ptest packageAlexander Kanavin2016-11-061-0/+3
| | | | | | | | | | | This was creating a race in runtime library dependency resolution where sometimes the library was assumed to be provided by the ptest package. (From OE-Core rev: c4a10c0b4bc14f4bac06deed8ecb64d0303f4029) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng: enable optional building of manpagesAlexander Kanavin2016-11-012-4/+4
| | | | | | | | (From OE-Core rev: 6ca9b7a56fac1d1b4f087346d3279bfdd50b93a3) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: fix ptestNathan Lynch2016-09-283-51/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the upgrade to 2.8, lttng-tools' test harness silently succeeds but doesn't actually run the tests. This is because upstream made some changes in their test harness: https://github.com/lttng/lttng-tools/commit/83666813cad3142ceccb929ca9b44d0e9cf53bc8 Updates to address this include: - drop now-irrelevant patch - change the ptest-run make target - remove indiscriminate search/replace commands from do_install_ptest - copy entire build directory into PTEST_PATH and then remove unneeded files - use lttng binaries installed on the system for the tests - add lttng-tools-ptest runtime dependencies - lttng-tools itself - babeltrace, used by the test harness to process traces - perl modules required by babelstats.pl test script - procps (for pgrep, pidof) - gawk - remove unnecessary chmod and munging of utils.sh script library - remove checkpatch from ptest installation tree - avoid path-munging of libtool artifacts altogether - use more efficient find+sed patterns to munge Makefiles - reduce test harness output to conform to ptest rules On qemux86-64 and qemuarm I get relatively stable results, with PASS/FAIL varying by +-1 on successive runs. TOTAL: 2345 PASS: 1735 SKIP: 311 XFAIL: 0 FAIL: 292 XPASS: 0 ERROR: 7 There are some ERRORs worth looking into further but this should be a useful basis for future work. (From OE-Core rev: 9e9875fc19df6b924aa7f9d06e7b4e07222d0799) Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: adds DEPENDS to util-linuxMing Liu2016-09-241-1/+1
| | | | | | | | | | lttng-utils rdepends on util-linux-libuuid, this fixes a do_package_qa QA warning. (From OE-Core rev: 8a25d4871f10021757041755be4e6bd7bc0292de) Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: fixes a wrong header issueMing Liu2016-09-242-0/+34
| | | | | | | | | | | | | | This fixes a following compiling issue: | agent.c:33:19: fatal error: error.h: No such file or directory | #include "error.h" it's back-ported from lttng-tools upstream, we need it in SRC_URI since 2.8 is still the latest release. (From OE-Core rev: 08c9a363cc600cb58ab98cf22de0f7963720dea3) Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>