replace lttng with lttng-2.0 in core-tools-profile, v2
cover replace lttng with lttng-2.0 in core-tools-profile, v2
From: Tom Zanussi <[email protected]>
The current packagegroup-core-tools-profile pulls in 'legacy' lttng packages, which are useless with the linux-yocto kernels since those don't include lttng support.
lttng-2.0 does seem to work, if the patch for lttng-modules that I just sent to oe-core is applied as well (lttng-modules: update SRCREV and remove is_compat_task).
I've only done minimal testing using qemux86, but even so it should at least be better than the curent situation.
Sending this patch to poky instead of oe-core since it could be that legacy lttng is what's being used by most people, but it clearly doesn't work for yocto.
v2: the current lttng2 recipes don't build for mips. From the recipes:
# Due to liburcu not building for MIPS currently this recipe needs to
# be limited also. # So here let us first suppport x86/arm/powerpc platforms now.
NOTE: this patch requires the accompanying oe-core patch to be applied as well:
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-October/030957.html
The following changes since commit 83448c4b318ce60a54aae24a9a247456fa94caaf:
documentation: kernel-manual - Fixed typo. (2012-10-15 14:45:16 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib.git tzanussi/switch-to-lttng2
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/switch-to-lttng2
Tom Zanussi (1):
packagegroup-core-tools-profile: replace 'legacy' lttng with lttng
2.0
.../packagegroup-core-tools-profile.bb | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-)
Signature · 1 line
1.7.11.4
PATCH 1/1 packagegroup-core-tools-profile: replace 'legacy' lttng with lttng 2.0
From: Tom Zanussi <[email protected]>
packagegroup-core-tools-profile currently pulls in the 'legacy' lttng packages, which are useless without legacy lttng support in the kernel.
This makes packagegroup-core-tools-profile pull in the lttng 2.0 packages instead, which don't need any kernel modifications to work.
--- .../packagegroup-core-tools-profile.bb | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-)
meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb +18 -4
@@ -5,7 +5,7 @@ SUMMARY = "Profiling tools" LICENSE = "MIT" -PR = "r1" +PR = "r2" inherit packagegroup
@@ -29,8 +29,7 @@ PROFILETOOLS = "\ oprofileui-server \ powertop \ latencytop \ - lttng-control \ - lttng-viewer" + " # systemtap needs elfutils which is not fully buildable on uclibc # hence we exclude it from uclibc based builds
@@ -44,10 +43,22 @@ SYSTEMTAP_mips = "" # which means we can not use syscall() to call it. So we ignore # it for x86_64/uclibc -LTTNGUST = "lttng-ust" +LTTNGUST = "lttng2-ust" LTTNGUST_libc-uclibc = "" LTTNGUST_mips = "" +# lttng-tools, lttng-modules and babeltrace all depend on liburcu +# which currentl doesn't build on mips + +LTTNGTOOLS = "lttng-tools" +LTTNGTOOLS_mips = "" + +LTTNGMODULES = "lttng-modules" +LTTNGMODULES_mips = "" + +BABELTRACE = "babeltrace" +BABELTRACE_mips = "" + # valgrind does not work on mips VALGRIND = "valgrind"
@@ -65,6 +76,9 @@ VALGRIND_arm = "" RDEPENDS_${PN} = "\ ${PROFILETOOLS} \ ${LTTNGUST} \ + ${LTTNGTOOLS} \ + ${LTTNGMODULES} \ + ${BABELTRACE} \ ${SYSTEMTAP} \ ${VALGRIND} \ "
Signature · 1 line
1.7.11.4