[yocto] [PATCH 0/1] perfer older version of lttng-ust in poky distro

Lu, Lianhao lianhao.lu at intel.com
Wed Mar 21 00:34:30 PDT 2012


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



More information about the yocto mailing list