All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] perfer older version of lttng-ust in poky distro
@ 2012-03-14  8:27 Lianhao Lu
  2012-03-14  8:27 ` [PATCH 1/1] poky.conf: Prefer lttng-ust instead of lttng2-ust Lianhao Lu
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Lianhao Lu @ 2012-03-14  8:27 UTC (permalink / raw)
  To: yocto

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(-)



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/1] poky.conf: Prefer lttng-ust instead of lttng2-ust.
  2012-03-14  8:27 [PATCH 0/1] perfer older version of lttng-ust in poky distro Lianhao Lu
@ 2012-03-14  8:27 ` Lianhao Lu
  2012-03-19  1:18 ` [PATCH 0/1] perfer older version of lttng-ust in poky distro Lu, Lianhao
  2012-03-21  0:59 ` Saul Wold
  2 siblings, 0 replies; 7+ messages in thread
From: Lianhao Lu @ 2012-03-14  8:27 UTC (permalink / raw)
  To: yocto

Fixed bug [YOCTO #2062].

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

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
---
 meta-yocto/conf/distro/poky.conf |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf
index e4d7c1d..cff4611 100644
--- a/meta-yocto/conf/distro/poky.conf
+++ b/meta-yocto/conf/distro/poky.conf
@@ -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}"
 
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/1] perfer older version of lttng-ust in poky distro
  2012-03-14  8:27 [PATCH 0/1] perfer older version of lttng-ust in poky distro Lianhao Lu
  2012-03-14  8:27 ` [PATCH 1/1] poky.conf: Prefer lttng-ust instead of lttng2-ust Lianhao Lu
@ 2012-03-19  1:18 ` Lu, Lianhao
  2012-03-19 18:26   ` Saul Wold
  2012-03-21  0:59 ` Saul Wold
  2 siblings, 1 reply; 7+ messages in thread
From: Lu, Lianhao @ 2012-03-19  1:18 UTC (permalink / raw)
  To: yocto@yoctoproject.org, Wold, Saul

Hi Saul,

How about this patch's merging status? 

Best Regards,
Lianhao

Lu, Lianhao wrote on 2012-03-14:
> 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(-)





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/1] perfer older version of lttng-ust in poky distro
  2012-03-19  1:18 ` [PATCH 0/1] perfer older version of lttng-ust in poky distro Lu, Lianhao
@ 2012-03-19 18:26   ` Saul Wold
  0 siblings, 0 replies; 7+ messages in thread
From: Saul Wold @ 2012-03-19 18:26 UTC (permalink / raw)
  To: Lu, Lianhao; +Cc: yocto@yoctoproject.org

On 03/18/2012 06:18 PM, Lu, Lianhao wrote:
> Hi Saul,
>
> How about this patch's merging status?
>
Missed it becase it went to the wrong list!  should go to the 
poky@yoctoproject.org list in the future.

Sau!

> Best Regards,
> Lianhao
>
> Lu, Lianhao wrote on 2012-03-14:
>> 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(-)
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/1] perfer older version of lttng-ust in poky distro
  2012-03-14  8:27 [PATCH 0/1] perfer older version of lttng-ust in poky distro Lianhao Lu
  2012-03-14  8:27 ` [PATCH 1/1] poky.conf: Prefer lttng-ust instead of lttng2-ust Lianhao Lu
  2012-03-19  1:18 ` [PATCH 0/1] perfer older version of lttng-ust in poky distro Lu, Lianhao
@ 2012-03-21  0:59 ` Saul Wold
  2012-03-21  1:27   ` Bruce Ashfield
  2 siblings, 1 reply; 7+ messages in thread
From: Saul Wold @ 2012-03-21  0:59 UTC (permalink / raw)
  To: Lianhao Lu; +Cc: yocto

On 03/14/2012 01:27 AM, Lianhao Lu wrote:
> 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!

> 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
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/1] perfer older version of lttng-ust in poky distro
  2012-03-21  0:59 ` Saul Wold
@ 2012-03-21  1:27   ` Bruce Ashfield
  2012-03-21  7:34     ` Lu, Lianhao
  0 siblings, 1 reply; 7+ messages in thread
From: Bruce Ashfield @ 2012-03-21  1:27 UTC (permalink / raw)
  To: Saul Wold; +Cc: yocto

On 12-03-20 8:59 PM, Saul Wold wrote:
> On 03/14/2012 01:27 AM, Lianhao Lu wrote:
>> 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.

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

>
> Sau!
>
>> 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
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/1] perfer older version of lttng-ust in poky distro
  2012-03-21  1:27   ` Bruce Ashfield
@ 2012-03-21  7:34     ` Lu, Lianhao
  0 siblings, 0 replies; 7+ messages in thread
From: Lu, Lianhao @ 2012-03-21  7:34 UTC (permalink / raw)
  To: Bruce Ashfield, Saul Wold; +Cc: yocto@yoctoproject.org

Bruce Ashfield wrote on 2012-03-21:
> On 12-03-20 8:59 PM, Saul Wold wrote:
>> On 03/14/2012 01:27 AM, Lianhao Lu wrote:
>>> 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.
> 
> 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

>> 
>> Sau!
>> 
>>> 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(-)
>>> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-03-21  7:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-14  8:27 [PATCH 0/1] perfer older version of lttng-ust in poky distro Lianhao Lu
2012-03-14  8:27 ` [PATCH 1/1] poky.conf: Prefer lttng-ust instead of lttng2-ust Lianhao Lu
2012-03-19  1:18 ` [PATCH 0/1] perfer older version of lttng-ust in poky distro Lu, Lianhao
2012-03-19 18:26   ` Saul Wold
2012-03-21  0:59 ` Saul Wold
2012-03-21  1:27   ` Bruce Ashfield
2012-03-21  7:34     ` Lu, Lianhao

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.