aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng
AgeCommit message (Collapse)Author
2015-07-22lttng-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 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>
2015-07-20lttng-modules: 2.6.1 -> 2.6.2Robert Yang
* Rename recipe name from lttng-modules_2.6.1.bb to lttng-modules_git.bb Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-07-16lttng: Fix timer calculation errorJianchuan Wang
Fix timer calculation error in the lttng-tools/lttng-ust Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-23babeltrace: Fix invalid pointer free with trace collectionRoy Li
This fixed the bug https://bugs.lttng.org/issues/790 Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-23lttng-modules: drop makefile patchNathan Lynch
The lttng-modules Makefile allows us to specify the kernel we're building against via the KERNELDIR variable on the build command line. Use that and drop the patch (which tends to need updating whenever the upstream Makefile changes). Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-05-29lttng-ust: 2.6.0 -> 2.6.1Robert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-05-15lttng-modules: Update to stable version 2.6.1Saul Wold
This fixes a build issue with the 3.19.5 kernel where the regmap prototypes have changed. The patch is rebased do to changes in the new version of the Makefile. [YOCTO #7737] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-05-14module/module-base/lttng-modules: Improve kernel module dependenciesRichard Purdie
If we have DEPENDS = "virtual/kernel" is means that the kernel module depends on the kernel's do_populate_sysroot task. This is not entirely desireable since that depends on do_install which depends on do_compile_kernelmodules and so on. In a situation where rm_work in involved this can cause some pretty length build cycles after the kernel workdir has been cleaned up by rm_work. As well as removing this, take the opportunity to clean up duplicated dependency lines, tweak the dependency of make_scripts for the same reason and generally try and make things more readable. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-30lttng-modules: remove bio-bvec-iter.patchRobert Yang
It is aready in the source. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-27lttng-tools: Add extern qualifier to declarations in .h fileKhem Raj
This will ensure that compiler does not initialize the definitions in header files Change-Id: I1076201c667f96707c320a51a77d4a70e22df750 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-25lttng-modules: Update along 2.6 stable branchRichard Purdie
Resolve compile issues with latest 3.19 stable series kernels. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-16lttng: Add tracing group when building lttng-toolsMehaffey, John
This prevents the "Warning: No tracing group detected" message from lttng when there is no group 'tracing' while using lttng on the target. Signed-off-by: John Mehaffey <mehaf@gedanken.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-21lttng-tools: add PACKAGECONFIG for kmodRobert Yang
Fixed: lttng-tools-2.6.0: lttng-tools-ptest rdepends on libkmod, but it isn't a build dependency? [build-deps] lttng-tools-2.6.0: lttng-tools rdepends on libkmod, but it isn't a build dependency? [build-deps] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-14lttng-tools: 2.5.3 -> 2.6.0Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-14lttng-ust: 2.5.2 -> 2.6.0Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-08lttng: update to 2.6.0-stableBruce Ashfield
To fix build issues against the v3.19 kernel, we can safely update to the lttng 2.6 stable branches. This allows us to drop two backported patches that are already part of this update. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-01-16kernel: move source and build output to work-sharedBruce Ashfield
commit 3b3f7e785e279 [kernel: Rearrange for 1.8] began the process of moving the kernel source and build artefacts out of sstate control and into a shared location. This changed triggered some workflow issues, as well as bugs related to the kernel source containing build output, and hence being dirty and breaking kernel rebuilds. To solve these issues, and to make it clear that the kernel is not under sstate control, we move the source and build outputs to: work-shared/MACHINE/kernel-source work-shared/MACHINE/kernel-build-artifacts Where kernel-build-artifacts is the kernel build output and kernel-source is kept "pristine". The build-artifacts contain everything that is required to build external modules against the kernel source, and includes the defconfig, the kernel-abiversion, System.map files and output from "make scripts". External module builds should either pass O= on the command line, or set KBUILD_OUTPUT to point to the build-artifacts. module-base.bbclass takes care of setting KBUILD_OUTPUT, so most existing external module recipes are transparently adapted to the new source/build layout. recipes that depend on the kernel source must have a depedency on the do_shared_workdir task: do_configure[depends] += "virtual/kernel:do_shared_workdir" With this dependency added, the STAGING_KERNEL_DIR will be populated and available to the rest of the build. 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>
2014-12-31lttng-ust: Update to 2.5.2 versionOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-31lttng-tools: Update to 2.5.3 versionOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-31lttng-modules: Update to revision to 16d7431c3Otavio Salvador
This update the source code to the 2.5.2 version and also brings two fixes from stable-2.5 branch. The update also allowed the removal of some already applied patches from the metadata. Doing this update, it fixes following build error: ,---- | make[1]: Entering directory `.../build-framebuffer/tmp/sysroots/imx23evk/usr/src/kernel' | | ERROR: Kernel configuration is invalid. | include/generated/autoconf.h or include/config/auto.conf are missing. | Run 'make oldconfig && make prepare' on kernel src to fix it. | | Building modules, stage 2. | ./scripts/Makefile.modpost:42: include/config/auto.conf: No such file or directory | make[2]: *** No rule to make target `include/config/auto.conf'. Stop. | make[1]: *** [modules] Error 2 | make[1]: Leaving directory `.../build-framebuffer/tmp/sysroots/imx23evk/usr/src/kernel' | make: *** [default] Error 2 `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-22lttng: recognize aarch64Joe Slater
Add aarch64 architecture to liburcu and lttng-ust. Internally it is treated the same as "arm". Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-20lttng-modules: fix mm_compaction_isolate_template buildBruce Ashfield
linux-stable integrated the 3.16 commit f8c9301fa5a2a [mm/compaction: do not count migratepages when unnecessary] with the 3.14.25 update. So we have to update the lttng-module linux version codes to use the new definition in builds greater than 3.14.24 or 3.16. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-20lttng/perf: depend on virtual/kernel:do_installBruce Ashfield
To ensure that the minimal environment has been created for out of tree module builds, perf and lttng should depend on the do_install task of the kernel. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-11babeltrace: Update to 1.2.4Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-12-03babeltrace: Upgrade to 1.2.3Saul Wold
Remove backported patches Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-09-29lttng-modules: fix build issues with the v3.17 kernelNitin A Kamble
The lttng-modules recipe was failing for meta-intel BSPs with the v3.17 kernel. These BSP kernels were enabling some of the audio codec drivers, whose structures are changed recently, causing mismatch with lttng-modules code expectations. The qemu machines did not see this issue as they were not enabling these sound codec kernel configuration. Fix the build issue, by changing the lttng-modules code to match with the structures used by the v3.17 kernel. The code is conditional on the kernel version, that way it keeps working with the older kernel versions. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2014-09-29babeltrace: Add missing bison/flex depensencies.Noor
* babeltrace do_configure failed due to missing flex/bison dependencies. Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-16lttng-tools: add PACKAGECONFIG to support --enable-python-bindings and lttng-ustHongxu Jia
Add PACKAGECONFIG to support --enable-python-bindings Add PACKAGECONFIG to support lttng-ust And python-bindings requires swig-native as DEPENDS, and swig-native is not in oe-core, so disable python-bindings by default Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-10lttng-modules: fix compilation for 3.17-rcXBruce Ashfield
Updating the lttng-modules 2.5 recipe with backports from the master branch to enable builds on 3.17 based kernels. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-29lttng-tools: fix ptest execution failureChong Lu
Ptest will hang when execute "./run.sh fast_regression" and lttng background daemon can't be killed normally. This patch fixes this issue and use ${PTEST_PATH} instead of long path. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-28meta: fix RDEPNEDS for the test related pkgsRobert Yang
Add bash, python or perl to the ptest pkgs to fix the RDEPENDS issues. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-23lttng-ust: add python-core to RDEPENDS_lttng-ust-binRobert Yang
There is only one script lttng-gen-tp which is a python in lttng-ust-bin, and it is a python script. And the lttng-ust doesn't have to rdepend on python. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-15lttng-tools: update to version 2.5.0Ross Burton
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>. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-15lttng-ust/lttng-modules: Update LICENSE to reflect MITRichard Purdie
The code in question clearly states MIT is a third license. Update LICENSE to reflect this (in one case, we did list BSD which is effectively the same thing but this removes confusion). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-15lttng-tools/lttng-ust: Drop old 2.3.1 versionsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-15lttng-ust: update to version 2.5.0Yasir-Khan
update to latest stable-2.5 revision Signed-off-by: Yasir-Khan <yasir_khan@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-25lttng-modules: re-enable ARM buildsBruce Ashfield
With lttng 2.4.2 and gcc 4.9, we can now enable lttng-modules for ARM. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-25lttng-modules: update to 2.5.0Bruce Ashfield
During the uprev of the yocto kernel to 3.16, lttng-modules failed to build. To grab the latest stable content, we update to 2.5.0, and add two patches to also make it build against 3.16+. We also drop the older 2.3.3 lttng-modules, since it is no longer required to support ARM builds. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-06-18lttng-modules: update to 2.4.1-stable latestBruce Ashfield
The 3.15, and 3.14.5+ kernels introduced a change to trace_block_rq_complete, which triggers the following build error: probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:151:6: error: conflicting types for 'trace_block_rq_complete' | void trace_##_name(_proto); | ^ | probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:117:2: note: in expansion of macro 'DEFINE_EVENT_MAP' | DEFINE_EVENT_MAP(template, name, name, PARAMS(proto), PARAMS(args)) | ^ | probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/block.h:235:1: note: in expansion of macro 'DEFINE_EVENT' | DEFINE_EVENT(block_rq_with_error, block_rq_complete, The lttng 2.4.x-stable branch contains the fix (and several other small fixes), so we bump the SRCREV to import the change. Build tested against 3.14 and 3.10. [YOCTO #6459] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-03recipes: Add missing pkgconfig class inheritsRichard Purdie
These recipes all use pkg-config in some way but were missing dependencies on the tool, this patch adds them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-23babeltrace: fix alignment issueRoy Li
Fix alignment issue in babeltrace Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-05-23lttng-tools: fix alignment issueRoy Li
Fix alignment issue in lttng-tools Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-05-21lttng-modules: Fix build with older kernels for 2.3.3 as 2.4.0Martin Jansa
Apply the change "lttng-modules: Fix 3.14 bio tracepoints" to 2.3.3 as well as 2.4.0. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-05-08babeltrace: upgrade to 1.2.1Cristiana Voicu
The release for 1.2.1 is on branch stable-1.2. Backported a patch to fix out of tree build. Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-05-06lttng-modules_2.3.3.bb: Fix build on ARM/gcc-4.9Khem Raj
Update the structure to work with immutable bio_vecs (From OE-Core rev: 09d3d8f97d6c60707b8dfb3fa5b04fa2efe6f6f6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-23lttng-modules: update to 2.4.1 versionChunrong Guo
*This updates lttng-modules for 2.4.1 and it also fixes the build with 3.13 Linux kernel. Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-30lttng-ust: add python to lttng-ust's RDEPENDSHongxu Jia
| Note: adding Smart RPM DB channel | | Note: to be installed: run-postinsts@x86_64 kernel-modules@qemux86_64 packagegroup-core-boot@qemux86_64 lttng-ust@x86_64 | Loading cache... | Updating cache... ######################################## [100%] | | Computing transaction...error: Can't install lttng-ust-2:2.3.0-r0.0@x86_64: no package provides /usr/bin/python | | Saving cache... | | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_rootfs (log file is located at tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/temp/do_rootfs/log.do_rootfs.13619) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-07lttng-ust: Disable doc/examples in the buildTom Zanussi
Don't build the doc examples - we don't need them and in fact they never successfully built in previous iterations of the lttng-ust recipe anyway. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-07lttng-modules: Fix 3.14 bio tracepointsTom Zanussi
The mainline 3.14 commit 'block: Astract out bvec iterator' broke the lttng-modules tracepoints. Fix them here. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-07lttng-modules: Exclude armTom Zanussi
lttng-modules and gcc-4.8 don't mix, according to the lttng ML 'current_thread_info() not respecting program order with gcc 4.8.x', so remove it from arm builds. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>