summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng/lttng-tools
Commit message (Collapse)AuthorAgeFilesLines
* lttng-tools: Fix build with glibc 2.30Khem Raj2019-07-311-0/+55
| | | | | | | (From OE-Core rev: 5abaf2a5c1e8707189c5f607a19170e031e1c480) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: update to 2.10.7Jonathan Rajotte2019-06-218-718/+0
| | | | | | | | | 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-201-1/+1
| | | | | | | | | 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-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: prevent test timeout when lttng-modules is not presentJonathan Rajotte2019-05-271-0/+26
| | | | | | | (From OE-Core rev: 3a099ab54e23f797c12777dce97437b7dc97de25) Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Add missing patch Upstream-StatusRichard Purdie2019-04-261-0/+2
| | | | | | (From OE-Core rev: 44f4fd033d33ca22102908b2941e652820d72a53) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: fix Upstream-StatusRoss Burton2019-04-231-1/+1
| | | | | | | (From OE-Core rev: 6af2a07264eaa20a75080ebe53689db045335a50) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: improve ptest and test suiteJonathan Rajotte2019-04-057-0/+1326
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Multiple patches are to be applied to improve the current ptest suite. 0001-Fix-tests-link-libpause_consumer-on-liblttng-ctl.patch 0002-Fix-test-skip-test_getcpu_override-on-single-thread-.patch 0003-Fix-test-unit-the-tree-origin-can-be-a-symlink-itsel.patch 0006-Tests-check-for-lttng-modules-presence.patch All deal with problem in the test suite. Most of these are already accepted upstream and will be removed on the next recipe update. 0004-Skip-when-testapp-is-not-present.patch Is a OE specific fix that make sure that we skip the test if the test util application (event generator) is not present. We are still unsure on how (upstream) we are going to solve this problem. We already have this problem if a user build lttng without lttng-ust (--without-lttng-ust). We will most probably end up splitting each test into kernel and userspace tests and adjust the makefile accordingly. Another option is to probe lttng for enabled function at runtime. 0005-Tests-use-modprobe-to-test-for-the-presence-of-lttng.patch Is a requirement for 0006 that should be accepted upstream shorlty. 0007-Fix-getgrnam-is-not-MT-Safe-use-getgrnam_r.patch Fixes a race found while testing OE built with musl. This is a legit bug. The fixes or a variant should be accepted soon. (From OE-Core rev: 57db7be54b9ee21b2be33b83782f0636d0702168) Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: fix compile error for x32Kai Kang2018-12-141-4/+24
| | | | | | | | | | | | | | | | Fix build error of src/common/utils.c for x32: | .../src/common/utils.c: Assembler messages: | .../src/common/utils.c:1026: Error: register type mismatch for `bsr' | .../src/common/utils.c:1028: Error: operand type mismatch for `movq' | make[3]: *** [utils.lo] Error 1 [YOCTO #13081] (From OE-Core rev: db9c892eb1697e3ba3c17eabf59b007c0cf3ff33) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Upgrade 2.9.5 -> 2.10.5 and improve ptestRichard Purdie2018-11-201-43/+0
| | | | | | | | | | | | | | | | | | | A backported patch was removed. The kmod option changed format in the new version so was adjusted accordingly. The ptest package was improved to resolve failures in the tests/unit/ directory but disabling attempts to rebuild the binaries on target. Various ptest libtool script wrappers are now replaced with real binaries and since the test suite knows about these paths for dymanic libraries, we put links in place for those. A data file needed by one of the tests is also copied in. (From OE-Core rev: fbafcd9a0101a637181d0aa9ec14579309a9bddf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Improve ptest robustnessRichard Purdie2018-11-201-1/+1
| | | | | | | | | | | | | | | | There are some fatal make errors that occur from the current ptest for lttng-tools however since other tests are successful, those make build failures were being ignored. When upgrading, the order of test execution changed and the ptest failed fatally straight away with the same errors. Passing -k to make means it will try and run all the tests making the test suite run more consistently over all lttng-tools versions. (From OE-Core rev: 3113fb0812aba96df59fca58fe68b751d1d886e6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: add systemd supportKai Kang2018-09-051-0/+9
| | | | | | | | | | | | | | | | 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-tools: Allow reconnect to relaydHe Zhe2018-07-091-0/+43
| | | | | | | | | | | | | | | | | | | | 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-tools: update to 2.9.4Nathan Lynch2017-03-041-35/+0
| | | | | | | | | | 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-tools: upgrade to 2.9.3Nathan Lynch2017-01-193-35/+38
| | | | | | | | | | | | | | | | | 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-tools: fix for x32Christopher Larson2017-01-091-0/+16
| | | | | | | | (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>
* lttng-tools: fix ptestNathan Lynch2016-09-282-30/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: fixes a wrong header issueMing Liu2016-09-241-0/+33
| | | | | | | | | | | | | | 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>
* lttng-tools: Update 2.7.1 -> 2.8.1Richard Purdie2016-09-031-51/+0
| | | | | | | | | | 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>
* Revert "lttng-tools: filter random filename of ptest output"Nathan Lynch2016-08-011-55/+0
| | | | | | | | | | | | | | | | | | 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>
* lttng-tools: move to Python 3Alexander Kanavin2016-06-031-30/+0
| | | | | | | (From OE-Core rev: e0cd0bd7da24b7e68e57feb448926ea9b0007590) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: filter random filename of ptest outputDengke Du2016-05-111-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* lttng-tools: Revert wrong enforcement of Python 3.0 useOtavio Salvador2015-12-121-0/+30
| | | | | | | | | | | | | | | | | 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>
* lttng-tools: Upgrade to 2.7 releaseOtavio Salvador2015-12-014-542/+51
| | | | | | | | (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>
* lttng-tools: Drop unused patchOtavio Salvador2015-12-011-52/+0
| | | | | | | | | | | 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>
* lttng-tools: sessiond: disable: match app event by nameLi Zhou2015-09-231-0/+58
| | | | | | | | | | | | | | | | 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>
* lttng: Fix timer calculation errorJianchuan Wang2015-07-161-0/+42
| | | | | | | | | | Fix timer calculation error in the lttng-tools/lttng-ust (From OE-Core rev: 780a590cf2f0604435c05445d02c342e3387497f) Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Add extern qualifier to declarations in .h fileKhem Raj2015-04-271-0/+442
| | | | | | | | | | | This will ensure that compiler does not initialize the definitions in header files Change-Id: I1076201c667f96707c320a51a77d4a70e22df750 (From OE-Core rev: 2e9a4198fc9a9fcc78eddb6cd5c2ad51a2e8d3e7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: update to version 2.5.0Ross Burton2014-08-151-47/+0
| | | | | | | | | | | | | | | | Update to latest stable-2.5 revision. * Drop Fix-alignment-problems-on-targets-not-supporting-una.patch, merged upstream. * New build-dependency on libxml2, so inherit pkgconfig so the test works and delete the copy of libxml.m4 that overrides our sysroot. Based on a patch from Yasir-Khan <yasir_khan@mentor.com>. (From OE-Core rev: 19c16a45a3410b9ecae8682b628f2badffec9375) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: fix alignment issueRoy Li2014-05-271-0/+47
| | | | | | | | | | Fix alignment issue in lttng-tools (From OE-Core rev: 539b77a29eb24b3896c9c436c0b4ce61c6b72b34) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Add version 2.4.0Tom Zanussi2014-03-071-0/+27
| | | | | | | | | | This updates lttng-tools to 2.4.0, codenamed Époque Opaque, needed for interoperability with lttng-modules and the 3.14 (dev) kernel. (From OE-Core rev: da5aaafa8c47d9daadb34adbddc93e0f18ec6259) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng: Enable ptest support.Stefan Seefeld2013-09-142-0/+56
(From OE-Core rev: d0d184045e8034ddbc77549e681f187e12ab1d08) Signed-off-by: Stefan Seefeld <stefan_seefeld@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>