* [PATCH 0/1] replace lttng with lttng-2.0 in core-tools-profile, v2
@ 2012-10-16 4:59 tom.zanussi
2012-10-16 4:59 ` [PATCH 1/1] packagegroup-core-tools-profile: replace 'legacy' lttng with lttng 2.0 tom.zanussi
0 siblings, 1 reply; 2+ messages in thread
From: tom.zanussi @ 2012-10-16 4:59 UTC (permalink / raw)
To: poky
From: Tom Zanussi <tom.zanussi@intel.com>
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(-)
--
1.7.11.4
^ permalink raw reply [flat|nested] 2+ messages in thread* [PATCH 1/1] packagegroup-core-tools-profile: replace 'legacy' lttng with lttng 2.0
2012-10-16 4:59 [PATCH 0/1] replace lttng with lttng-2.0 in core-tools-profile, v2 tom.zanussi
@ 2012-10-16 4:59 ` tom.zanussi
0 siblings, 0 replies; 2+ messages in thread
From: tom.zanussi @ 2012-10-16 4:59 UTC (permalink / raw)
To: poky
From: Tom Zanussi <tom.zanussi@intel.com>
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.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
.../packagegroup-core-tools-profile.bb | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
index 1035036..0ab2bc9 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
@@ -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} \
"
--
1.7.11.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-16 4:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-16 4:59 [PATCH 0/1] replace lttng with lttng-2.0 in core-tools-profile, v2 tom.zanussi
2012-10-16 4:59 ` [PATCH 1/1] packagegroup-core-tools-profile: replace 'legacy' lttng with lttng 2.0 tom.zanussi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.