summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng
AgeCommit message (Collapse)Author
2017-11-21lttng-modules: Upgrade to 2.9.5 releaseOtavio Salvador
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. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-10-06lttng-modules: Backport fixes for kernel instrumentationOtavio Salvador
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. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-08-11babeltrace: update to 1.5.3Alexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-07-24lttng-ust_2.9.1.bb: set CVE_PRODUCT to ustMikko Rapeli
It is used in NVD for CVE's like: https://nvd.nist.gov/vuln/detail/CVE-2010-3386 Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-27lttng-modules: update to 2.9.3Nathan Lynch
Miscellaneous fixes and support for 4.12-rc kernels. Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-27lttng-tools: update to 2.9.5Nathan Lynch
Miscellaneous fixes. Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-27lttng-ust: update to 2.9.1Nathan Lynch
Miscellaneous fixes. Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-27meta: Fix malformed Upstream-Status tagsRoss Burton
Fix a variety of spelling and format mistakes to improve the ease of reading the tags programatically. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-05-16lttng-modules: update to 2.9.2Nathan Lynch
This version bump adds support for Linux 4.11. Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-10lttng-modules: work around GCC 7 changesNathan Lynch
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. Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-21lttng-modules: Replace '/lib' with ${nonarch_base_libdir}Amarnath Valluri
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. Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
2017-03-04lttng-tools: update to 2.9.4Nathan Lynch
Drop upstreamed patch. Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-04lttng-modules: update to 2.9.1Nathan Lynch
This includes a significant fix for kernel tracing on 32-bit systems; kernel and user space events may be uncorrelated without it. Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-01babeltrace: update to 1.5.2Alexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-15lttng-tools: no need to delete libxml.m4Ross Burton
The configure.ac uses pkg-config now and this macro doesn't exist in the tarball anymore, so remove the deletion. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-01-19babeltrace: upgrade to 1.5.1Nathan Lynch
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
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 Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-01-19lttng-modules: upgrade to 2.9.0Nathan Lynch
Switch to using release tarballs. Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
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. Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
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. Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-01-09lttng-tools: fix for x32Christopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-12-17babeltrace: update to 1.5.0Alexander Kanavin
(From OE-Core rev: 08761df0559eca197121a27f8f5be1b48fc008cc) 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\) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
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. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
2016-11-01lttng: enable optional building of manpagesAlexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
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. Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-23lttng-tools: adds DEPENDS to util-linuxMing Liu
lttng-utils rdepends on util-linux-libuuid, this fixes a do_package_qa QA warning. Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-23lttng-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. 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. 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. 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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-03lttng-tools: Add PACKAGECONFIG for manpagesRichard Purdie
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. 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). 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". Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-28Revert "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). Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-26babeltrace: remove unnecessary SRCREVNathan Lynch
Since this recipe doesn't use a SCM the SRCREV is unneeded (and inaccurate). Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
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. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-02lttng-ust: move to Python 3Alexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-02lttng-tools: move to Python 3Alexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-30default-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. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
2016-05-30babeltrace: upgrade to 1.3.2Alexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
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". 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! Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
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. 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 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. 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>
2016-02-28lttng-ust: add support for aarch64_beTudor Florea
Signed-off-by: Tudor Florea <tudor.florea@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-22babeltrace: Add missing header for MAXNAMLEN defineKhem Raj
Fix bug exposed on musl Signed-off-by: Khem Raj <raj.khem@gmail.com>