Skip to contentSkip to conversation

lttng-ust: Integrate into yocto linux

PATCH In review Zumeng Chen 2 participants 8 messages Jan 9, 2012 – Jan 10, 2012 1 message not in the archive

lore
Share & tools
lore
#1 lore raw

PATCH 1/4 lttng-ust: Integrate into yocto linux

In reply to a message not in the archive

This patch intended to integrate the LTTng UST 2.0 package, which contains the userspace tracer library to trace userspace codes.

---
 meta/recipes-kernel/lttng-2.0/lttng-ust_1.9.4.bb |   25 ++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-kernel/lttng-2.0/lttng-ust_1.9.4.bb
meta/recipes-kernel/lttng-2.0/lttng-ust_1.9.4.bb new file +25 -0
new file mode 100644
index 0000000..846019e
@@ -0,0 +1,25 @@
+SUMMARY = "Linux Trace Toolkit Userspace Tracer 2.0"
+DESCRIPTION = "The LTTng UST 2.0 package contains the userspace tracer library to trace userspace codes."
+HOMEPAGE = "http://lttng.org/lttng2.0"
+BUGTRACKER = "n/a"
+
+LICENSE = "LGPLv2.1+ & BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e647752e045a8c45b6f583771bd561ef \
+                    file://snprintf/snprintf.c;endline=32;md5=d3d544959d8a3782b2e07451be0a903c \
+                    file://snprintf/various.h;endline=31;md5=89f2509b6b4682c4fc95255eec4abe44"
+
+inherit autotools
+
+DEPENDS = "liburcu util-linux"
+
+SRC_URI = "http://lttng.org/files/lttng-ust/lttng-ust-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "0f09bb954c99cb99ab6997cd492953c1"
+SRC_URI[sha256sum] = "e9ec3c55c2251b3f3b512bfa1015b0f67e35d55793850ccea5134f7b24ee3ba1"
+
+S = "${WORKDIR}/lttng-ust-${PV}"
+
+# Due to liburcu not building on MIPS currently this recipe needs to
+# be limited also.
+# So here let us first suppport x86/arm/powerpc platforms now.
+COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'
Signature · 1 line
1.7.5.4
#4 lore raw

PATCH 2/4 lttng-tools: Integrated from git repo.

In reply to a message not in the archive

This patch intended to integrate the Linux trace toolkit, which is a suite of tools designed to extract program execution details from the Linux operating system and interpret them.

lttng-tools 2.0 is currently in pre-release(-pre16), so we have to update it when official released.

---
 ...tools-fix-compiling-error-for-powerpc-arm.patch |   26 ++++++++++++++++++++
 .../lttng-2.0/lttng-tools_2.0-pre16.bb             |   21 ++++++++++++++++
 2 files changed, 47 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch
 create mode 100644 meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch new file +26 -0
new file mode 100644
index 0000000..47b7b98
@@ -0,0 +1,26 @@
+Upstream-Status: Pending
+
+lttng-tools: fix compiling error for powerpc, arm
+
+For powerpc and arm system, some MAP_ defined in
+asm/mman.h, so we include it in header.
+
+Signed-off-by: Zumeng Chen <[email protected]>
+---
+ librunas/runas.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/librunas/runas.c b/librunas/runas.c
+--- a/librunas/runas.c
++++ b/librunas/runas.c
+@@ -29,6 +29,7 @@
+ #include <fcntl.h>
+ #include <sched.h>
+ #include <sys/mman.h>
++#include <asm/mman.h>
+
+ #include <lttngerr.h>
+
+--
+1.7.5.4
+
meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb new file +21 -0
new file mode 100644
index 0000000..8a688c9
@@ -0,0 +1,21 @@
+SECTION = "devel"
+SUMMARY = "Linux Trace Toolkit Control"
+DESCRIPTION = "The Linux trace toolkit is a suite of tools designed to extract program execution details from the Linux operating system and interpret them."
+LICENSE = "GPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ab682a4729389c3f11913d758affe98e"
+
+DEPENDS = "liburcu popt lttng-ust"
+
+SRC_URI = "http://lttng.org/files/lttng-tools/lttng-tools-${PV}.tar.bz2 \
+           file://lttng-tools-fix-compiling-error-for-powerpc-arm.patch"
+
+SRC_URI[md5sum] = "58ed0a15db80a00172d5b0413a55451c"
+SRC_URI[sha256sum] = "188d262bda80043dd939c9aa7aec1795ca77aeec0cb3c0f23c28bfe754049491"
+
+S = "${WORKDIR}/lttng-tools-${PV}"
+
+inherit autotools
+
+export KERNELDIR="${STAGING_KERNEL_DIR}"
+
+COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'
Signature · 1 line
1.7.5.4
#8 lore raw

PATCH 4/4 babeltrace: Integrated from version 0.8

In reply to a message not in the archive

It provides trace read and write libraries, as well as a trace converter.

---
 meta/recipes-kernel/lttng-2.0/babeltrace_0.8.bb |   28 +++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-kernel/lttng-2.0/babeltrace_0.8.bb
meta/recipes-kernel/lttng-2.0/babeltrace_0.8.bb new file +28 -0
new file mode 100644
index 0000000..dfa4790
@@ -0,0 +1,28 @@
+SUMMARY = "Babeltrace - Trace Format Babel Tower"
+DESCRIPTION = "Babeltrace provides trace read and write libraries in host side, as well as a trace converter, which used to convert LTTng 2.0 traces into human-readable log."
+HOMEPAGE = "http://www.efficios.com/babeltrace/"
+BUGTRACKER = "n/a"
+
+LICENSE = "MIT & GPLV2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8d1a03b3c17bdd158b3cbb34813b1423"
+
+inherit autotools
+
+DEPENDS = "gtk+ util-linux"
+
+SRCREV = "31e670293588d7882a232bc14b93d5e956fa43f4"
+PV = "0.8+git${SRCPV}"
+PR = "r0"
+
+SRC_URI = "git://git.efficios.com/babeltrace.git;protocol=git"
+
+S = "${WORKDIR}/git"
+
+do_configure_prepend () {
+	${S}/bootstrap
+}
+
+# Due to liburcu not building on MIPS currently this recipe needs to
+# be limited also.
+# So here let us first suppport x86/arm/powerpc platforms now.
+COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'
Signature · 1 line
1.7.5.4
#7 lore raw

PATCH 3/4 lttng-modules: from lttng-modules 2.0 git repo.

In reply to a message not in the archive

This patch intended to integrate the lttng-modules 2.0 package containing the kernel tracer modules.
LTTng-modules 2.0 is currently in pre-release (-pre11), so we have to update it when official released.

---
 ...modules-replace-KERNELDIR-with-KERNEL_SRC.patch |   41 ++++++++++++++++++++
 .../lttng-2.0/lttng-modules_v2.0.pre11.bb          |   23 +++++++++++
 2 files changed, 64 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-kernel/lttng-2.0/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch
 create mode 100644 meta/recipes-kernel/lttng-2.0/lttng-modules_v2.0.pre11.bb
meta/recipes-kernel/lttng-2.0/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch new file +41 -0
new file mode 100644
index 0000000..aa24171
@@ -0,0 +1,41 @@
+Upstream-Status: Inappropriate [embedded specific]
+
+lttng-modules: replace KERNELDIR with KERNEL_SRC
+
+Since lttng-modules uses the default way of module.bbclass to
+build and install lttng-modules, we do this replacement for
+it as-is.
+
+Signed-off-by: Zumeng Chen <[email protected]>
+---
+ Makefile |    7 +++----
+ 1 files changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 5ac13d7..25caad5 100644
+--- a/Makefile
++++ b/Makefile
+@@ -38,17 +38,16 @@ obj-m += lib/
+ endif
+
+ else
+-	KERNELDIR ?= /lib/modules/$(shell uname -r)/build
+ 	PWD := $(shell pwd)
+ 	CFLAGS = $(EXTCFLAGS)
+
+ default:
+-	$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
++	$(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules
+
+ modules_install:
+-	$(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
++	$(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules_install
+
+ clean:
+-	$(MAKE) -C $(KERNELDIR) M=$(PWD) clean
++	$(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean
+
+ endif
+-- 
+1.7.5.4
+
meta/recipes-kernel/lttng-2.0/lttng-modules_v2.0.pre11.bb new file +23 -0
new file mode 100644
index 0000000..02d8324
@@ -0,0 +1,23 @@
+SECTION = "devel"
+SUMMARY = "Linux Trace Toolkit KERNEL MODULE"
+DESCRIPTION = "The lttng-modules 2.0 package contains the kernel tracer modules"
+LICENSE = "LGPLv2.1 & GPLv2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1eb086682a7c65a45acd9bcdf6877b3e \
+                    file://gpl-2.0.txt;md5=751419260aa954499f7abaabaa882bbe \
+                    file://lgpl-2.1.txt;md5=243b725d71bb5df4a1e5920b344b86ad"
+
+DEPENDS = virtual/kernel
+
+inherit module
+
+SRCREV = "4d3e89e379fc66480d729abe8daa5c86eb585400"
+PV = "v2.0.pre11+git${SRCPV}"
+PR = "r0"
+
+SRC_URI = "git://git.lttng.org/lttng-modules.git;protocol=git \
+           file://lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch"
+
+export INSTALL_MOD_DIR="kernel/lttng-modules"
+
+S = "${WORKDIR}/git"
+COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'
Signature · 1 line
1.7.5.4
#2 lore raw
In reply to Zumeng Chen
Quoted 30 lines · Zumeng Chen

This patch intended to integrate the LTTng UST 2.0 package, which contains the userspace tracer library to trace userspace codes.

---
 meta/recipes-kernel/lttng-2.0/lttng-ust_1.9.4.bb |   25 ++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-kernel/lttng-2.0/lttng-ust_1.9.4.bb
meta/recipes-kernel/lttng-2.0/lttng-ust_1.9.4.bb new file +15 -0
new file mode 100644
index 0000000..846019e
@@ -0,0 +1,25 @@
+SUMMARY = "Linux Trace Toolkit Userspace Tracer 2.0"
+DESCRIPTION = "The LTTng UST 2.0 package contains the userspace tracer library to trace userspace codes."
+HOMEPAGE = "http://lttng.org/lttng2.0"
+BUGTRACKER = "n/a"
+
+LICENSE = "LGPLv2.1+ & BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e647752e045a8c45b6f583771bd561ef \
+                    file://snprintf/snprintf.c;endline=32;md5=d3d544959d8a3782b2e07451be0a903c \
+                    file://snprintf/various.h;endline=31;md5=89f2509b6b4682c4fc95255eec4abe44"
+
+inherit autotools
+
+DEPENDS = "liburcu util-linux"
+
+SRC_URI = "http://lttng.org/files/lttng-ust/lttng-ust-${PV}.tar.gz"

meta/recipes-kernel/lttng-2.0/lttng-ust_1.9.4.bb line 25

Quoted 10 lines
meta/recipes-kernel/lttng-2.0/lttng-ust_1.9.4.bb new file +10 -0
+
+SRC_URI[md5sum] = "0f09bb954c99cb99ab6997cd492953c1"
+SRC_URI[sha256sum] = "e9ec3c55c2251b3f3b512bfa1015b0f67e35d55793850ccea5134f7b24ee3ba1"
+
+S = "${WORKDIR}/lttng-ust-${PV}"
+
+# Due to liburcu not building on MIPS currently this recipe needs to
+# be limited also.
+# So here let us first suppport x86/arm/powerpc platforms now.
+COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'

Looking through documentation.conf and existing poky sources, I believe this test is correct. HOST/TARGET are the same in this case. The comment is a bit confusing however. I believe the comment should read:

# liburcu doesn't build for MIPS
COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'

The key difference being "for" instead of "on". The rest of the comment is redundant with the assignment itself. This applies to all 4 patches.

Thanks,

Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
#5 lore raw

Re: [PATCH 2/4] lttng-tools: Integrated from git repo.

In reply to Zumeng Chen
Quoted 53 lines · Zumeng Chen

This patch intended to integrate the Linux trace toolkit, which is a suite of tools designed to extract program execution details from the Linux operating system and interpret them.

lttng-tools 2.0 is currently in pre-release(-pre16), so we have to update it when official released.

---
 ...tools-fix-compiling-error-for-powerpc-arm.patch |   26 ++++++++++++++++++++
 .../lttng-2.0/lttng-tools_2.0-pre16.bb             |   21 ++++++++++++++++
 2 files changed, 47 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch
 create mode 100644 meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch new file +26 -0
new file mode 100644
index 0000000..47b7b98
@@ -0,0 +1,26 @@
+Upstream-Status: Pending
+
+lttng-tools: fix compiling error for powerpc, arm
+
+For powerpc and arm system, some MAP_ defined in
+asm/mman.h, so we include it in header.
+
+Signed-off-by: Zumeng Chen <[email protected]>
+---
+ librunas/runas.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/librunas/runas.c b/librunas/runas.c
+--- a/librunas/runas.c
++++ b/librunas/runas.c
+@@ -29,6 +29,7 @@
+ #include <fcntl.h>
+ #include <sched.h>
+ #include <sys/mman.h>
++#include <asm/mman.h>
+
+ #include <lttngerr.h>
+
+--
+1.7.5.4
+
meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb new file +0 -0
new file mode 100644
index 0000000..8a688c9

meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb line 3

Quoted 3 lines
meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb new file +3 -0
@@ -0,0 +1,21 @@
+SECTION = "devel"
+SUMMARY = "Linux Trace Toolkit Control"
+DESCRIPTION = "The Linux trace toolkit is a suite of tools designed to extract program execution details from the Linux operating system and interpret them."

Please do wrap long lines, just don't indent them with tabs past the previous line:

DESCRIPTION = "The Linux trace toolkit is a suite of tools designed \
to extract program execution details from the Linux operating system \
and interpret them."

Quoted 7 lines
meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb new file +7 -0
+LICENSE = "GPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ab682a4729389c3f11913d758affe98e"
+
+DEPENDS = "liburcu popt lttng-ust"
+
+SRC_URI = "http://lttng.org/files/lttng-tools/lttng-tools-${PV}.tar.bz2 \
+           file://lttng-tools-fix-compiling-error-for-powerpc-arm.patch"

meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb line 20

Quoted 10 lines
meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb new file +10 -0
+
+SRC_URI[md5sum] = "58ed0a15db80a00172d5b0413a55451c"
+SRC_URI[sha256sum] = "188d262bda80043dd939c9aa7aec1795ca77aeec0cb3c0f23c28bfe754049491"
+
+S = "${WORKDIR}/lttng-tools-${PV}"
+
+inherit autotools
+
+export KERNELDIR="${STAGING_KERNEL_DIR}"
+

Please include the reason for the COMPATIBLE_HOST test in all recipes.

Quoted 1 line
meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb new file +1 -0
+COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'
Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
#6 lore raw

Re: [PATCH 2/4] lttng-tools: Integrated from git repo.

Quoted 63 lines · Darren Hart
Quoted 54 lines · Zumeng Chen

This patch intended to integrate the Linux trace toolkit, which is a suite of tools designed to extract program execution details from the Linux operating system and interpret them.

lttng-tools 2.0 is currently in pre-release(-pre16), so we have to update it when official released.

---
  ...tools-fix-compiling-error-for-powerpc-arm.patch |   26 ++++++++++++++++++++
  .../lttng-2.0/lttng-tools_2.0-pre16.bb             |   21 ++++++++++++++++
  2 files changed, 47 insertions(+), 0 deletions(-)

create mode 100644 meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch create mode 100644 meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb

meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch new file +26 -0
new file mode 100644
index 0000000..47b7b98
@@ -0,0 +1,26 @@
+Upstream-Status: Pending
+
+lttng-tools: fix compiling error for powerpc, arm
+
+For powerpc and arm system, some MAP_ defined in
+asm/mman.h, so we include it in header.
+
+Signed-off-by: Zumeng Chen<[email protected]>
+---
+ librunas/runas.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/librunas/runas.c b/librunas/runas.c
+--- a/librunas/runas.c
++++ b/librunas/runas.c
+@@ -29,6 +29,7 @@
+ #include<fcntl.h>
+ #include<sched.h>
+ #include<sys/mman.h>
++#include<asm/mman.h>
+
+ #include<lttngerr.h>
+
+--
+1.7.5.4
+
meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb new file +0 -0
new file mode 100644
index 0000000..8a688c9

meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb line 3

Quoted 3 lines
meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb new file +3 -0
@@ -0,0 +1,21 @@
+SECTION = "devel"
+SUMMARY = "Linux Trace Toolkit Control"
+DESCRIPTION = "The Linux trace toolkit is a suite of tools designed to extract program execution details from the Linux operating system and interpret them."

Please do wrap long lines, just don't indent them with tabs past the previous line:

Quoted 4 lines

DESCRIPTION = "The Linux trace toolkit is a suite of tools designed \
to extract program execution details from the Linux operating system \
and interpret them."

OK. fixed.

Quoted 12 lines
Quoted 12 lines
meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb new file +11 -0
+LICENSE = "GPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ab682a4729389c3f11913d758affe98e"
+
+DEPENDS = "liburcu popt lttng-ust"
+
+SRC_URI = "http://lttng.org/files/lttng-tools/lttng-tools-${PV}.tar.bz2 \
+           file://lttng-tools-fix-compiling-error-for-powerpc-arm.patch"
+
+SRC_URI[md5sum] = "58ed0a15db80a00172d5b0413a55451c"
+SRC_URI[sha256sum] = "188d262bda80043dd939c9aa7aec1795ca77aeec0cb3c0f23c28bfe754049491"
+
Quoted 9 lines

meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb line 20

Quoted 7 lines
meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb new file +6 -0
+S = "${WORKDIR}/lttng-tools-${PV}"
+
+inherit autotools
+
+export KERNELDIR="${STAGING_KERNEL_DIR}"
+

Please include the reason for the COMPATIBLE_HOST test in all recipes.

OK.

Quoted 4 lines
Quoted 3 lines
meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb new file +1 -0
+COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'
#3 lore raw
In reply to Darren Hart
Quoted 48 lines · Darren Hart
Quoted 31 lines · Zumeng Chen

This patch intended to integrate the LTTng UST 2.0 package, which contains the userspace tracer library to trace userspace codes.

---
  meta/recipes-kernel/lttng-2.0/lttng-ust_1.9.4.bb |   25 ++++++++++++++++++++++
  1 files changed, 25 insertions(+), 0 deletions(-)

create mode 100644 meta/recipes-kernel/lttng-2.0/lttng-ust_1.9.4.bb

meta/recipes-kernel/lttng-2.0/lttng-ust_1.9.4.bb new file +15 -0
new file mode 100644
index 0000000..846019e
@@ -0,0 +1,25 @@
+SUMMARY = "Linux Trace Toolkit Userspace Tracer 2.0"
+DESCRIPTION = "The LTTng UST 2.0 package contains the userspace tracer library to trace userspace codes."
+HOMEPAGE = "http://lttng.org/lttng2.0"
+BUGTRACKER = "n/a"
+
+LICENSE = "LGPLv2.1+&  BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e647752e045a8c45b6f583771bd561ef \
+                    file://snprintf/snprintf.c;endline=32;md5=d3d544959d8a3782b2e07451be0a903c \
+                    file://snprintf/various.h;endline=31;md5=89f2509b6b4682c4fc95255eec4abe44"
+
+inherit autotools
+
+DEPENDS = "liburcu util-linux"
+
+SRC_URI = "http://lttng.org/files/lttng-ust/lttng-ust-${PV}.tar.gz"

meta/recipes-kernel/lttng-2.0/lttng-ust_1.9.4.bb line 25

Quoted 10 lines
meta/recipes-kernel/lttng-2.0/lttng-ust_1.9.4.bb new file +10 -0
+
+SRC_URI[md5sum] = "0f09bb954c99cb99ab6997cd492953c1"
+SRC_URI[sha256sum] = "e9ec3c55c2251b3f3b512bfa1015b0f67e35d55793850ccea5134f7b24ee3ba1"
+
+S = "${WORKDIR}/lttng-ust-${PV}"
+
+# Due to liburcu not building on MIPS currently this recipe needs to
+# be limited also.
+# So here let us first suppport x86/arm/powerpc platforms now.
+COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'

Looking through documentation.conf and existing poky sources, I believe this test is correct. HOST/TARGET are the same in this case. The comment is a bit confusing however. I believe the comment should read:

Quoted 6 lines
# liburcu doesn't build for MIPS
COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'

The key difference being "for" instead of "on". The rest of the comment is redundant with the assignment itself. This applies to all 4 patches.

OK, got it, V3 soon.

Quoted 3 lines

Thanks,