aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng
AgeCommit message (Collapse)Author
2017-01-19babeltrace: upgrade to 1.5.1Nathan Lynch
(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>
2017-01-19lttng-tools: upgrade to 2.9.3Nathan Lynch
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>
2017-01-19lttng-modules: upgrade to 2.9.0Nathan Lynch
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>
2017-01-19lttng-ust: upgrade to 2.9.0Nathan Lynch
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>
2017-01-19lttng-ust: don't exclude manual pages from buildNathan Lynch
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>
2017-01-09lttng-tools: fix for x32Christopher Larson
(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>
2016-12-17babeltrace: update to 1.5.0Alexander Kanavin
(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>
2016-12-16meta: remove True option to getVar callsJoshua Lock
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>
2016-11-06lttng-tools: do not install shared libraries in ptest packageAlexander Kanavin
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>
2016-11-01lttng: enable optional building of manpagesAlexander Kanavin
(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>
2016-09-28lttng-tools: fix ptestNathan Lynch
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>
2016-09-24lttng-tools: adds DEPENDS to util-linuxMing Liu
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>
2016-09-24lttng-tools: fixes a wrong header issueMing Liu
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>
2016-09-06lttng-modules: Do not fail if CONFIG_TRACEPOINTS is not enabledOtavio Salvador
The lttng-modules are being pulled by the tools-profile image feature, however, not every kernel has the CONFIG_TRACEPOINTS feature enabled. This change makes the build do not fail when CONFIG_TRACEPOINTS is not available, allowing it to be kept being pulled by default. (From OE-Core rev: 6215ffec6a3d5069cc74ae9853167c3c6395b1db) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-06lttng-modules: Bump to 6e4fc6f3 revisionOtavio Salvador
This moves the recipe to the tip of stable-2.8 branch which allows the use of Linux 4.8 while keep us on a stable release. (From OE-Core rev: 34cac40670e94a9e3ffc2a734ce1f826dc60516b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-03lttng-modules: Update 2.7.3 -> 2.8.0+masterRichard Purdie
We need master for the changes to work with 4.8 kernels. (From OE-Core rev: ab883b74634b8fa0c179b2c42b1503fa78fcc06f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-03lttng-tools: Add PACKAGECONFIG for manpagesRichard Purdie
(From OE-Core rev: 1ddae1c3a58931bbf348fd6fd912f0cd30598585) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-03lttng-tools: Update 2.7.1 -> 2.8.1Richard Purdie
Drop backported patch. Update ust configure option. Update location of xml m4 file. (From OE-Core rev: ea0375c5a38a761d296f5e20c95450c2df90fe39) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-03lttng-ust: Update 2.7.1 -> 2.8.1Richard Purdie
Drop aarch64_be patch which is now upstream. Update doc patch to apply to latest version. Disable man generation in configure options to match docs patch (for now). (From OE-Core rev: 338320be00101cb182c8ccdad162076e7c3d3dbc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-08-17Use PYTHON_SITEPACKAGES_DIR insted of hard-coded *site-packages*Ming Liu
For thoese recipes that are inheriting python*-dir.bbclass, there is already a PYTHON_SITEPACKAGES_DIR present, use that definition replacing redundant "${libdir}/python*/site-packages". (From OE-Core rev: e7d842673952aa4aaa141f64958bc1344dbe8210) Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-08-01Revert "lttng-tools: filter random filename of ptest output"Nathan Lynch
This reverts commit 29a8c45be2862be02afe2ebbc5c026a42f351990. A few things wrong with this change: 1. It patches a patch (runtest-2.4.0.patch). 2. It introduces deviations from the desired ptest output format. 3. It discards PASS: lines from the test output; I *want* to see those. 4. The upstream status of "pending" is incorrect; I do not see this patch on the lttng-dev mailing list (not that it would apply anyway). (From OE-Core rev: eeb0a912145f8f849d56c04e38616d12ca8be21e) 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>
2016-07-26babeltrace: remove unnecessary SRCREVNathan Lynch
Since this recipe doesn't use a SCM the SRCREV is unneeded (and inaccurate). (From OE-Core rev: 7635748f9bf2de75e94222ff286b9d02e85b2dfe) 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>
2016-07-10babeltrace: update to 1.4.0Alexander Kanavin
Switch to using tarballs for upstream releases. Drop merged patches. Add a --disable-debug-info parameter to ./configure, as it otherwise attempts to execute a small test binary. If this (new) feature is truly needed, we can set up a qemu wrapper later, or patch autoconf macros. (From OE-Core rev: 3c53af483d46d6fbc8ad5bd764c01897f2ed5c1b) 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>
2016-06-03lttng-ust: move to Python 3Alexander Kanavin
(From OE-Core rev: f49beaf99171e081a0e5df50d38a1122045ca029) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-03lttng-tools: move to Python 3Alexander Kanavin
(From OE-Core rev: e0cd0bd7da24b7e68e57feb448926ea9b0007590) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-01default-versions.inc: drop python-related defaultsAlexander Kanavin
There is only one version of python 2.x provided, so no need to set a preferred version. PYTHON_BASEVERSION is now set explicitly in python-dir.bbclass and python3-dir.bbclass, so fix up a few recipes that relied on it being set in default-versions.inc without inheriting python-dir. (From OE-Core rev: e0c75841078bf65905c1c9aa2946241b2474a7e2) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-30babeltrace: upgrade to 1.3.2Alexander Kanavin
(From OE-Core rev: 16fda757a61a4ef78f3d1ddad37db7968ced957a) 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>
2016-05-21lttng-modules: Upgrade to 2.7.3 releaseAndrew Bradford
Linux 4.5 and later cause lttng-modules versions prior to 2.7.2 to fail to compile due to Linux vmscan changes. See lttng-modules git commit d0d2908478bdc8c36faaeae6fcb687052cb5f93b on lttng-modules branch stable-2.7: "Fix: update vmscan instrumentation for kernel 4.5". (From OE-Core rev: be62b6b78881a6a89242d99a258e1b26e7f13ee5) Signed-off-by: Andrew Bradford <andrew.bradford@kodakalaris.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-11lttng-tools: filter random filename of ptest outputDengke Du
When run the ptest of lttng-tools, it produced many random filename when the tests passed, the output confused QA analysis, so we need to filter the ptest output if tests passed and add up the passed and failed tests. NOTE:The tests invoked the run.sh twice, so it output like this: ... FAIL:... unit_tests statistics total pass: 133 tests passed! total fail: 5 tests failed! ... FAIL:... fast_regression statistics total pass: 1904 tests passed! total fail: 202 tests failed! (From OE-Core rev: 29a8c45be2862be02afe2ebbc5c026a42f351990) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-29babeltrace: Let autotools.bbclass run autoreconfJussi Kukkonen
When bootstrap calls autoreconf, it won't have AC_LOCAL set properly so shared scripts may not be found: glib-2.0.m4 in this case. Remove custom bootstrap code so autotools class handles this. (From OE-Core rev: b561a85db7b5e93308d7da175cd9fff882d94a9f) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-20lttng-tools: Remove lttng-ust from PACKAGECONFIG for muslKhem Raj
Remove lttng-ust from DEPENDS its added by PACKAGECONFIG anyway (From OE-Core rev: b19b929f3412372e200258423d3280a714c86cda) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-20lttng-modules: Add nios2 supportMarek Vasut
The lttng-modules are compatible with nios2, so just amend the compatibility string. (From OE-Core rev: e219a977a8243c858028c36c41b17fad12413290) Signed-off-by: Marek Vasut <marex@denx.de> Cc: Ley Foon Tan <lftan@altera.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Ross Burton <ross.burton@intel.com> Cc: Thomas Chou <thomas@wytron.com.tw> Cc: Walter Goossens <waltergoossens@home.nl> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28lttng-ust: add support for aarch64_beTudor Florea
(From OE-Core rev: 4120bdfab3afb22bd6be68ca3bebff9d299a38ee) Signed-off-by: Tudor Florea <tudor.florea@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-04lttng-tools: Fix ptest installed la filesRichard Purdie
The ptest .la files are just getting copied into new directories, we need to relocate them and update the paths within. (From OE-Core rev: 94ee0470af875501ef76ceff2c7e239f34a11495) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-24babeltrace: Add missing header for MAXNAMLEN defineKhem Raj
Fix bug exposed on musl (From OE-Core rev: cc4f9860332300925d93e2607d675509fc002be4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-15lttng-ust: Upgrade to 2.7.1Richard Purdie
(From OE-Core rev: e3f13ce7ea870b51dac910c5a11a136623d2ee7c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-15lttng-tools: Upgrade to 2.7.1Richard Purdie
(From OE-Core rev: f8d597d77c3394522c390256633aa917588e5038) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-15lttng-modules: Upgrade to 2.7.1Richard Purdie
(From OE-Core rev: 1bb1e262944a94d8d0705890c7a56398df4559e6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-28lttng-modules: fix build issue against kernel 4.4Bruce Ashfield
Updating to the latest 2.7 stable commit which incorporates changes for building against the 4.4-rc kernel series. (From OE-Core rev: a9fe7afafc7645d33941926e097c7d88cbcbfa53) 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>
2015-12-16babeltrace: update to 1.3.1Alexander Kanavin
(From OE-Core rev: 2b2a493baf45cbe5d53d8346525990f344e103c4) 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>
2015-12-16meta: Drop now pointless manual -dbg packagingRichard Purdie
With the autodebug package generation logic, specifically setting FILES_${PN}-dbg isn't needed in most cases, we can remove them. (From OE-Core rev: 3ab59d49dd7c18e194b58d1248b4b87709b5a738) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-12lttng-tools: Revert wrong enforcement of Python 3.0 useOtavio Salvador
The code has support and checks for Python 2 and Python 3 however during the development of 2.7 release a requirement for Python 3 was included. The Python 3 is required for runtime tests to run however those are not in use now so we can just disable the enforcement for now. This reverts the commit restoring the Python 2 support. (From OE-Core rev: 8807f4fd8a9ccdcdec016d87fd18fd0717f35dca) 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>
2015-12-01lttng-tools: add libgcc to RDEPENDSNathan Lynch
The lttng-sessiond program uses pthread_cancel, whose implementation in glibc requires libgcc_s.so.1 to be present. (From OE-Core rev: fff5fe9f356098457c4fd56cb95c3e8afde2defb) 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>
2015-12-01lttng-tools: Upgrade to 2.7 releaseOtavio Salvador
(From OE-Core rev: dddf51204238a094f633149663a7ed843dc8f55c) 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>
2015-12-01lttng-tools: Drop unused patchOtavio Salvador
The runtest.patch is unused, so there is no reason to keep it on the tree. (From OE-Core rev: c1fb471dc83206f3940108319fca760b39cbbac7) 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>
2015-12-01lttng-ust: Upgrade to 2.7 releaseOtavio Salvador
(From OE-Core rev: d63f9a33c26dc1536ea4345c76eb49bd1b00f7a7) 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>
2015-12-01lttng-modules: Upgrade to 2.7 releaseOtavio Salvador
(From OE-Core rev: 72174e357d79c016b48eb4b4d0bb455600e9e34e) 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>
2015-10-01lttng-tools: Drop KERNELDIR referenceRichard Purdie
The source makes no reference to KERNELDIR any more and this make the recipe machine specific. Simply drop the unused reference. (From OE-Core rev: 21bad4c807acd4c596fcca8afeab737161fbbb39) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-23lttng-tools: sessiond: disable: match app event by nameLi Zhou
Get upstream patch from lttng-tools github: <https://github.com/lttng/lttng-tools> <commit:700c5a9d4dc7b552926b8ddcbba91cc13312aba0>, for solving the filtered tracepoint disabling error. The use of a simple lookup and match on event name is insufficient to identify the corresponding ust app event. (From OE-Core rev: 60f8c0e679f70f4477472d7895fddff12530a929) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-23lttng-ust: 2.6.1 -> 2.6.2Robert Yang
* Remove add-aarch64.patch since it is already in the source. * Rename lttng-ust_2.6.1.bb -> lttng-ust_git.bb (From OE-Core rev: f5b03208c0ae0f47dddec6e39712fb0f1d041ebc) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>