Skip to contentSkip to conversation

perfer older version of lttng-ust in poky distro

PATCH In review Lianhao Lu 4 participants 7 messages Mar 14, 2012 – Mar 21, 2012

lore
Share & tools
lore

Lianhao Lu

author
#0 lore raw

cover perfer older version of lttng-ust in poky distro

Set the PREFERRED_VERSION of lttng-ust to use lttng-ust instead of lttng2-ust in poky distro. This fixed yocto bug #2062.

The lttng2 is very different in terms of architecture and usage model, compared to lttng. The eclipse upstream lttng plugin won't be able to support lttng2 until the eclipse Juno release(Jun 27th, 2012).

The following changes since commit 8e9f6fc77ac4763f4ed1f6e7b720420c220ba6e2:
Richard Purdie (1):
dates: Fix unpackaged files warning

are available in the git repository at:

git://git.pokylinux.org/poky-contrib llu/bug2062
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/bug2062

Lianhao Lu (1):
poky.conf: Prefer lttng-ust instead of lttng2-ust.

 meta-yocto/conf/distro/poky.conf |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
author
#1 lore raw

PATCH 1/1 poky.conf: Prefer lttng-ust instead of lttng2-ust.

Fixed bug [YOCTO #2062].

This patch set the PREFERRED_VERVION of lttng-ust to use lttng-ust, instead of the lttng2-ust.

---
 meta-yocto/conf/distro/poky.conf |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
meta-yocto/conf/distro/poky.conf +3 -0
index e4d7c1d..cff4611 100644
@@ -19,6 +19,9 @@ PREFERRED_VERSION_linux-yocto_qemuarm ?= "3.2%"
 PREFERRED_VERSION_linux-yocto_qemumips ?= "3.2%"
 PREFERRED_VERSION_linux-yocto_qemuppc ?= "3.2%"
 
+# Using the older version of lttng, instead of lttng-2
+PREFERRED_VERSION_lttng-ust ?= "0.16"
+
 SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${TARGET_ARCH}"
 SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
 
Signature · 1 line
1.7.0.4
#2 lore raw
In reply to Lianhao Lu

Hi Saul,

How about this patch's merging status?

Best Regards,
Lianhao

Lu, Lianhao wrote on 2012-03-14:

Quoted 18 lines

Set the PREFERRED_VERSION of lttng-ust to use lttng-ust instead of lttng2-ust in poky distro. This fixed yocto bug #2062.

The lttng2 is very different in terms of architecture and usage model, compared to lttng. The eclipse upstream lttng plugin won't be able to support lttng2 until the eclipse Juno release(Jun 27th, 2012).

The following changes since commit 8e9f6fc77ac4763f4ed1f6e7b720420c220ba6e2:
Richard Purdie (1):
dates: Fix unpackaged files warning
are available in the git repository at:

git://git.pokylinux.org/poky-contrib llu/bug2062
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/bug2062
Lianhao Lu (1):
poky.conf: Prefer lttng-ust instead of lttng2-ust.

 meta-yocto/conf/distro/poky.conf |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
#3 lore raw
Quoted 4 lines · Lianhao

Hi Saul,

How about this patch's merging status?

Missed it becase it went to the wrong list! should go to the [email protected] list in the future.

Sau!

Quoted 30 lines

Best Regards,
Lianhao

Lu, Lianhao wrote on 2012-03-14:

Quoted 12 lines

Set the PREFERRED_VERSION of lttng-ust to use lttng-ust instead of lttng2-ust in poky distro. This fixed yocto bug #2062.

The lttng2 is very different in terms of architecture and usage model, compared to lttng. The eclipse upstream lttng plugin won't be able to support lttng2 until the eclipse Juno release(Jun 27th, 2012).

The following changes since commit 8e9f6fc77ac4763f4ed1f6e7b720420c220ba6e2:
Richard Purdie (1):
dates: Fix unpackaged files warning
are available in the git repository at:

Quoted 6 lines
   git://git.pokylinux.org/poky-contrib llu/bug2062
   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/bug2062
Lianhao Lu (1):
   poky.conf: Prefer lttng-ust instead of lttng2-ust.
  meta-yocto/conf/distro/poky.conf |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#4 lore raw
In reply to Lianhao Lu
Quoted 7 lines · Lianhao Lu

Set the PREFERRED_VERSION of lttng-ust to use lttng-ust instead of lttng2-ust in poky distro. This fixed yocto bug #2062.

The lttng2 is very different in terms of architecture and usage model, compared to lttng. The eclipse upstream lttng plugin won't be able to support lttng2 until the eclipse Juno release(Jun 27th, 2012).

This patch seems to break the lttng-2.0/lttng-tools build. Please verify that we can build lttng-2.0 bits or somehow handle both.

I am not sure the kernel will support the older lttng, in which case using lttng-ust from the older release will not work, so we can not use the eclipse with it anyways.

Sau!

Quoted 20 lines

The following changes since commit 8e9f6fc77ac4763f4ed1f6e7b720420c220ba6e2:
Richard Purdie (1):
dates: Fix unpackaged files warning

are available in the git repository at:

   git://git.pokylinux.org/poky-contrib llu/bug2062
   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/bug2062

Lianhao Lu (1):
poky.conf: Prefer lttng-ust instead of lttng2-ust.

  meta-yocto/conf/distro/poky.conf |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#5 lore raw
Quoted 10 lines · Saul Wold
Quoted 9 lines · Lianhao Lu

Set the PREFERRED_VERSION of lttng-ust to use lttng-ust instead of lttng2-ust in poky distro. This fixed yocto bug #2062.

The lttng2 is very different in terms of architecture and usage model, compared
to lttng. The eclipse upstream lttng plugin won't be able to support lttng2 until
the eclipse Juno release(Jun 27th, 2012).

Quoted 6 lines

This patch seems to break the lttng-2.0/lttng-tools build. Please verify that we can build lttng-2.0 bits or somehow handle both.

I am not sure the kernel will support the older lttng, in which case using lttng-ust from the older release will not work, so we can not use the eclipse with it anyways.

It won't. Since lttng 1.x wasn't ported past 2.6.38 (and released), since lttng was moving to 2.x and the new CTF, there wasn't any sense in porting it ourselves.

That being said, it IS possible for both 1.x and 2.x to co-exist, but we don't have the weeks (or the value) in making the port.

Cheers,

Bruce

Quoted 28 lines

Sau!

Quoted 13 lines

The following changes since commit
8e9f6fc77ac4763f4ed1f6e7b720420c220ba6e2:
Richard Purdie (1):
dates: Fix unpackaged files warning

are available in the git repository at:

git://git.pokylinux.org/poky-contrib llu/bug2062
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/bug2062

Lianhao Lu (1):
poky.conf: Prefer lttng-ust instead of lttng2-ust.

Quoted 8 lines

meta-yocto/conf/distro/poky.conf | 3 +++

1 files changed, 3 insertions(+), 0 deletions(-)

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#6 lore raw

Bruce Ashfield wrote on 2012-03-21:

Quoted 18 lines · Saul Wold
Quoted 10 lines · Lianhao Lu
Quoted 9 lines

Set the PREFERRED_VERSION of lttng-ust to use lttng-ust instead of lttng2-ust in poky distro. This fixed yocto bug #2062.

The lttng2 is very different in terms of architecture and usage model, compared
to lttng. The eclipse upstream lttng plugin won't be able to support lttng2 until
the eclipse Juno release(Jun 27th, 2012).

Quoted 6 lines

This patch seems to break the lttng-2.0/lttng-tools build. Please verify that we can build lttng-2.0 bits or somehow handle both.

I am not sure the kernel will support the older lttng, in which case using lttng-ust from the older release will not work, so we can not use the eclipse with it anyways.

Quoted 6 lines

It won't. Since lttng 1.x wasn't ported past 2.6.38 (and released), since lttng was moving to 2.x and the new CTF, there wasn't any sense in porting it ourselves.

That being said, it IS possible for both 1.x and 2.x to co-exist, but we don't have the weeks (or the value) in making the port.

Just like Bruce said, I double checked that the older lttng-ust 1.x can work upon new kernel 3.2.11. So Saul, please ignore this patch. I'll send another patch to oe-core to change the name of new 2.x lttng-ust to lttng2-ust, so that it's possible to have them co-exist.

Best Regards
-Lianhao

Quoted 19 lines
Quoted 19 lines

Sau!

Quoted 16 lines

The following changes since commit
8e9f6fc77ac4763f4ed1f6e7b720420c220ba6e2:
Richard Purdie (1):
dates: Fix unpackaged files warning

are available in the git repository at:

git://git.pokylinux.org/poky-contrib llu/bug2062
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/bug2062

Lianhao Lu (1):
poky.conf: Prefer lttng-ust instead of lttng2-ust.

meta-yocto/conf/distro/poky.conf | 3 +++

1 files changed, 3 insertions(+), 0 deletions(-)