All of lore.kernel.org
 help / color / mirror / Atom feed
* [V4] [PATCH 0/4] lttng-2.0 new recipe for merge
@ 2012-01-12  3:10 Zumeng Chen
  2012-01-12  3:11 ` [PATCH 1/4] lttng-ust: Integrate into yocto linux Zumeng Chen
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Zumeng Chen @ 2012-01-12  3:10 UTC (permalink / raw)
  To: openembedded-core

Hi Richard/Saul, 

This is the clean thread of lttng-2.0 for merge.

Thanks,
Zumeng

The following changes since commit 0f4d99d207b224bb9ce23de00a48f795ae20b3a0:

  multilib.conf: Clean up file and add missing entries for various dependencies (2012-01-11 23:53:32 +0000)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib zumeng/lttng-2.0-for-merge
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zumeng/lttng-2.0-for-merge

Zumeng Chen (4):
  lttng-ust: Integrate into yocto linux
  lttng-tools: Integrated from git repo.
  lttng-modules: from lttng-modules 2.0 git repo.
  babeltrace: Integrated from version 0.8

 meta/recipes-kernel/lttng-2.0/babeltrace_0.8.bb    |   28 +++++++++++++
 ...modules-replace-KERNELDIR-with-KERNEL_SRC.patch |   41 ++++++++++++++++++++
 .../lttng-2.0/lttng-modules_2.0.pre11.bb           |   27 +++++++++++++
 ...tools-fix-compiling-error-for-powerpc-arm.patch |   28 +++++++++++++
 .../lttng-2.0/lttng-tools_2.0-pre16.bb             |   30 ++++++++++++++
 meta/recipes-kernel/lttng-2.0/lttng-ust_1.9.4.bb   |   25 ++++++++++++
 6 files changed, 179 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-kernel/lttng-2.0/babeltrace_0.8.bb
 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_2.0.pre11.bb
 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
 create mode 100644 meta/recipes-kernel/lttng-2.0/lttng-ust_1.9.4.bb

-- 
1.7.5.4




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

* [PATCH 1/4] lttng-ust: Integrate into yocto linux
  2012-01-12  3:10 [V4] [PATCH 0/4] lttng-2.0 new recipe for merge Zumeng Chen
@ 2012-01-12  3:11 ` Zumeng Chen
  2012-01-12  3:11 ` [PATCH 2/4] lttng-tools: Integrated from git repo Zumeng Chen
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 18+ messages in thread
From: Zumeng Chen @ 2012-01-12  3:11 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
---
 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

diff --git a/meta/recipes-kernel/lttng-2.0/lttng-ust_1.9.4.bb b/meta/recipes-kernel/lttng-2.0/lttng-ust_1.9.4.bb
new file mode 100644
index 0000000..32ec25b
--- /dev/null
+++ b/meta/recipes-kernel/lttng-2.0/lttng-ust_1.9.4.bb
@@ -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 for 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'
-- 
1.7.5.4




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

* [PATCH 2/4] lttng-tools: Integrated from git repo.
  2012-01-12  3:10 [V4] [PATCH 0/4] lttng-2.0 new recipe for merge Zumeng Chen
  2012-01-12  3:11 ` [PATCH 1/4] lttng-ust: Integrate into yocto linux Zumeng Chen
@ 2012-01-12  3:11 ` Zumeng Chen
  2012-01-12 22:04   ` Saul Wold
  2012-01-12  3:11 ` [PATCH 3/4] lttng-modules: from lttng-modules 2.0 " Zumeng Chen
  2012-01-12  3:11 ` [PATCH 4/4] babeltrace: Integrated from version 0.8 Zumeng Chen
  3 siblings, 1 reply; 18+ messages in thread
From: Zumeng Chen @ 2012-01-12  3:11 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
---
 ...tools-fix-compiling-error-for-powerpc-arm.patch |   28 ++++++++++++++++++
 .../lttng-2.0/lttng-tools_2.0-pre16.bb             |   30 ++++++++++++++++++++
 2 files changed, 58 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

diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch
new file mode 100644
index 0000000..f8e144f
--- /dev/null
+++ b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch
@@ -0,0 +1,28 @@
+From 5d8d75ab0c7f9e0009d90a2e5ad6475034a5c859 Mon Sep 17 00:00:00 2001
+From: Zumeng Chen <zumeng.chen@windriver.com>
+Date: Tue, 10 Jan 2012 12:41:45 +0800
+Subject: [PATCH 1/1] Fix compiling error on powerpc and arm
+
+For powerpc and arm, some MAP_ are defined asm/mman.h,
+so including it in header.
+
+Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
+---
+ common/runas.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/common/runas.c b/common/runas.c
+index f612ccc..62a2791 100644
+--- a/common/runas.c
++++ b/common/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
+
diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
new file mode 100644
index 0000000..cde57f7
--- /dev/null
+++ b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
@@ -0,0 +1,30 @@
+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 \
+                    file://gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+                    file://lgpl-2.1.txt;md5=0f0d71500e6a57fd24d825f33242b9ca"
+
+DEPENDS = "liburcu popt lttng-ust"
+
+SRCREV = "f2ca2e251d8f49b0dbbcca529dd61b3562c1147f"
+PV = "v2.0.pre16+git${SRCREV}"
+PR = "r0"
+
+SRC_URI = "git://git.lttng.org/lttng-tools.git;protocol=git\
+           file://lttng-tools-fix-compiling-error-for-powerpc-arm.patch"
+
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+export KERNELDIR="${STAGING_KERNEL_DIR}"
+
+# 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.
+COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'
-- 
1.7.5.4




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

* [PATCH 3/4] lttng-modules: from lttng-modules 2.0 git repo.
  2012-01-12  3:10 [V4] [PATCH 0/4] lttng-2.0 new recipe for merge Zumeng Chen
  2012-01-12  3:11 ` [PATCH 1/4] lttng-ust: Integrate into yocto linux Zumeng Chen
  2012-01-12  3:11 ` [PATCH 2/4] lttng-tools: Integrated from git repo Zumeng Chen
@ 2012-01-12  3:11 ` Zumeng Chen
  2012-01-12  3:11 ` [PATCH 4/4] babeltrace: Integrated from version 0.8 Zumeng Chen
  3 siblings, 0 replies; 18+ messages in thread
From: Zumeng Chen @ 2012-01-12  3:11 UTC (permalink / raw)
  To: openembedded-core

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.

lttng-2.0 supports lttng-modules extra builds, which don't need
any patches on Linux kernel vs the previous version of lttng.
As described in README of lttng-modules-2.0, so far, it has been
tested in the latest kernel on x86 32/64-bit, and powerpc 32-bit,
, build tested on ARM. So does yocto kernel, the related tests
on qemux86 and qemuppc has been validated and a build test on
qemuarm passed too with this patcheset.

Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
---
 ...modules-replace-KERNELDIR-with-KERNEL_SRC.patch |   41 ++++++++++++++++++++
 .../lttng-2.0/lttng-modules_2.0.pre11.bb           |   27 +++++++++++++
 2 files changed, 68 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_2.0.pre11.bb

diff --git a/meta/recipes-kernel/lttng-2.0/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch b/meta/recipes-kernel/lttng-2.0/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch
new file mode 100644
index 0000000..aa24171
--- /dev/null
+++ b/meta/recipes-kernel/lttng-2.0/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch
@@ -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 <zumeng.chen@windriver.com>
+---
+ 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
+
diff --git a/meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.pre11.bb b/meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.pre11.bb
new file mode 100644
index 0000000..5d34c41
--- /dev/null
+++ b/meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.pre11.bb
@@ -0,0 +1,27 @@
+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 = "2.0.pre11+git${SRCREV}"
+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"
+
+# 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.
+COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'
-- 
1.7.5.4




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

* [PATCH 4/4] babeltrace: Integrated from version 0.8
  2012-01-12  3:10 [V4] [PATCH 0/4] lttng-2.0 new recipe for merge Zumeng Chen
                   ` (2 preceding siblings ...)
  2012-01-12  3:11 ` [PATCH 3/4] lttng-modules: from lttng-modules 2.0 " Zumeng Chen
@ 2012-01-12  3:11 ` Zumeng Chen
  2012-01-12 22:06   ` Saul Wold
  3 siblings, 1 reply; 18+ messages in thread
From: Zumeng Chen @ 2012-01-12  3:11 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
---
 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

diff --git a/meta/recipes-kernel/lttng-2.0/babeltrace_0.8.bb b/meta/recipes-kernel/lttng-2.0/babeltrace_0.8.bb
new file mode 100644
index 0000000..76a76c3
--- /dev/null
+++ b/meta/recipes-kernel/lttng-2.0/babeltrace_0.8.bb
@@ -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 for 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'
-- 
1.7.5.4




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

* Re: [PATCH 2/4] lttng-tools: Integrated from git repo.
  2012-01-12  3:11 ` [PATCH 2/4] lttng-tools: Integrated from git repo Zumeng Chen
@ 2012-01-12 22:04   ` Saul Wold
  2012-01-13  0:55     ` zumeng.chen
  0 siblings, 1 reply; 18+ messages in thread
From: Saul Wold @ 2012-01-12 22:04 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 01/11/2012 07:11 PM, Zumeng Chen wrote:
> 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.
>
> Signed-off-by: Zumeng Chen<zumeng.chen@windriver.com>
> ---
>   ...tools-fix-compiling-error-for-powerpc-arm.patch |   28 ++++++++++++++++++
>   .../lttng-2.0/lttng-tools_2.0-pre16.bb             |   30 ++++++++++++++++++++
>   2 files changed, 58 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
>
> diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch
> new file mode 100644
> index 0000000..f8e144f
> --- /dev/null
> +++ b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch
> @@ -0,0 +1,28 @@
> +From 5d8d75ab0c7f9e0009d90a2e5ad6475034a5c859 Mon Sep 17 00:00:00 2001
> +From: Zumeng Chen<zumeng.chen@windriver.com>
> +Date: Tue, 10 Jan 2012 12:41:45 +0800
> +Subject: [PATCH 1/1] Fix compiling error on powerpc and arm
> +

No Upstream-Status:


> +For powerpc and arm, some MAP_ are defined asm/mman.h,
> +so including it in header.
> +
> +Signed-off-by: Zumeng Chen<zumeng.chen@windriver.com>
> +---
> + common/runas.c |    1 +
> + 1 files changed, 1 insertions(+), 0 deletions(-)
> +
> +diff --git a/common/runas.c b/common/runas.c
> +index f612ccc..62a2791 100644
> +--- a/common/runas.c
> ++++ b/common/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
> +
> diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
> new file mode 100644
> index 0000000..cde57f7
> --- /dev/null
> +++ b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
> @@ -0,0 +1,30 @@
> +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"

You have gpl-2.0  and lgpl-2.1 list below which is the correct LICENSE?

Sau!

> +LIC_FILES_CHKSUM = "file://COPYING;md5=ab682a4729389c3f11913d758affe98e \
> +                    file://gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
> +                    file://lgpl-2.1.txt;md5=0f0d71500e6a57fd24d825f33242b9ca"
> +
> +DEPENDS = "liburcu popt lttng-ust"
> +
> +SRCREV = "f2ca2e251d8f49b0dbbcca529dd61b3562c1147f"
> +PV = "v2.0.pre16+git${SRCREV}"
> +PR = "r0"
> +
> +SRC_URI = "git://git.lttng.org/lttng-tools.git;protocol=git\
> +           file://lttng-tools-fix-compiling-error-for-powerpc-arm.patch"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit autotools
> +
> +export KERNELDIR="${STAGING_KERNEL_DIR}"
> +
> +# 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.
> +COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'



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

* Re: [PATCH 4/4] babeltrace: Integrated from version 0.8
  2012-01-12  3:11 ` [PATCH 4/4] babeltrace: Integrated from version 0.8 Zumeng Chen
@ 2012-01-12 22:06   ` Saul Wold
  2012-01-13  0:57     ` zumeng.chen
  0 siblings, 1 reply; 18+ messages in thread
From: Saul Wold @ 2012-01-12 22:06 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 01/11/2012 07:11 PM, Zumeng Chen wrote:
> It provides trace read and write libraries, as well as a trace converter.
>
> Signed-off-by: Zumeng Chen<zumeng.chen@windriver.com>
> ---
>   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
>
> diff --git a/meta/recipes-kernel/lttng-2.0/babeltrace_0.8.bb b/meta/recipes-kernel/lttng-2.0/babeltrace_0.8.bb
> new file mode 100644
> index 0000000..76a76c3
> --- /dev/null
> +++ b/meta/recipes-kernel/lttng-2.0/babeltrace_0.8.bb
> @@ -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"
> +
LICENSE vs LIC_FILES_CHKSUM, does the LICENSE file contain both?

also GPLv2 not V2

Sau!

> +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 for 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'



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

* Re: [PATCH 2/4] lttng-tools: Integrated from git repo.
  2012-01-12 22:04   ` Saul Wold
@ 2012-01-13  0:55     ` zumeng.chen
  0 siblings, 0 replies; 18+ messages in thread
From: zumeng.chen @ 2012-01-13  0:55 UTC (permalink / raw)
  To: Saul Wold; +Cc: Patches and discussions about the oe-core layer

On 2012年01月13日 06:04, Saul Wold wrote:
> On 01/11/2012 07:11 PM, Zumeng Chen wrote:
>> 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.
>>
>> Signed-off-by: Zumeng Chen<zumeng.chen@windriver.com>
>> ---
>> ...tools-fix-compiling-error-for-powerpc-arm.patch | 28 
>> ++++++++++++++++++
>> .../lttng-2.0/lttng-tools_2.0-pre16.bb | 30 ++++++++++++++++++++
>> 2 files changed, 58 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
>>
>> diff --git 
>> a/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch 
>> b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch 
>>
>> new file mode 100644
>> index 0000000..f8e144f
>> --- /dev/null
>> +++ 
>> b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch
>> @@ -0,0 +1,28 @@
>> +From 5d8d75ab0c7f9e0009d90a2e5ad6475034a5c859 Mon Sep 17 00:00:00 2001
>> +From: Zumeng Chen<zumeng.chen@windriver.com>
>> +Date: Tue, 10 Jan 2012 12:41:45 +0800
>> +Subject: [PATCH 1/1] Fix compiling error on powerpc and arm
>> +
>
> No Upstream-Status:
Upstream-Status: Pending
>
>
>> +For powerpc and arm, some MAP_ are defined asm/mman.h,
>> +so including it in header.
>> +
>> +Signed-off-by: Zumeng Chen<zumeng.chen@windriver.com>
>> +---
>> + common/runas.c | 1 +
>> + 1 files changed, 1 insertions(+), 0 deletions(-)
>> +
>> +diff --git a/common/runas.c b/common/runas.c
>> +index f612ccc..62a2791 100644
>> +--- a/common/runas.c
>> ++++ b/common/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
>> +
>> diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb 
>> b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
>> new file mode 100644
>> index 0000000..cde57f7
>> --- /dev/null
>> +++ b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
>> @@ -0,0 +1,30 @@
>> +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"
>
> You have gpl-2.0 and lgpl-2.1 list below which is the correct LICENSE?
Yes, fixed, LICENSE = "GPLv2 & LGPLv2.1"

Thanks,
Zumeng
>
> Sau!
>
>> +LIC_FILES_CHKSUM = 
>> "file://COPYING;md5=ab682a4729389c3f11913d758affe98e \
>> + file://gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
>> + file://lgpl-2.1.txt;md5=0f0d71500e6a57fd24d825f33242b9ca"
>> +
>> +DEPENDS = "liburcu popt lttng-ust"
>> +
>> +SRCREV = "f2ca2e251d8f49b0dbbcca529dd61b3562c1147f"
>> +PV = "v2.0.pre16+git${SRCREV}"
>> +PR = "r0"
>> +
>> +SRC_URI = "git://git.lttng.org/lttng-tools.git;protocol=git\
>> + file://lttng-tools-fix-compiling-error-for-powerpc-arm.patch"
>> +
>> +S = "${WORKDIR}/git"
>> +
>> +inherit autotools
>> +
>> +export KERNELDIR="${STAGING_KERNEL_DIR}"
>> +
>> +# 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.
>> +COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'




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

* Re: [PATCH 4/4] babeltrace: Integrated from version 0.8
  2012-01-12 22:06   ` Saul Wold
@ 2012-01-13  0:57     ` zumeng.chen
  0 siblings, 0 replies; 18+ messages in thread
From: zumeng.chen @ 2012-01-13  0:57 UTC (permalink / raw)
  To: Saul Wold; +Cc: Patches and discussions about the oe-core layer

On 2012年01月13日 06:06, Saul Wold wrote:
> On 01/11/2012 07:11 PM, Zumeng Chen wrote:
>> It provides trace read and write libraries, as well as a trace 
>> converter.
>>
>> Signed-off-by: Zumeng Chen<zumeng.chen@windriver.com>
>> ---
>> 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
>>
>> diff --git a/meta/recipes-kernel/lttng-2.0/babeltrace_0.8.bb 
>> b/meta/recipes-kernel/lttng-2.0/babeltrace_0.8.bb
>> new file mode 100644
>> index 0000000..76a76c3
>> --- /dev/null
>> +++ b/meta/recipes-kernel/lttng-2.0/babeltrace_0.8.bb
>> @@ -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"
>> +
> LICENSE vs LIC_FILES_CHKSUM, does the LICENSE file contain both?
Yes,
>
> also GPLv2 not V2
fixed.
>
> Sau!
>
>> +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 for 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'




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

* [PATCH 2/4] lttng-tools: Integrated from git repo.
       [not found] <cover.1326244852.git.zumeng.chen@windriver.com>
@ 2012-01-11  1:30 ` Zumeng Chen
  0 siblings, 0 replies; 18+ messages in thread
From: Zumeng Chen @ 2012-01-11  1:30 UTC (permalink / raw)
  To: openembedded-core, dvhart

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.

Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
---
 ...tools-fix-compiling-error-for-powerpc-arm.patch |   28 ++++++++++++++++++
 .../lttng-2.0/lttng-tools_2.0-pre16.bb             |   30 ++++++++++++++++++++
 2 files changed, 58 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

diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch
new file mode 100644
index 0000000..f8e144f
--- /dev/null
+++ b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch
@@ -0,0 +1,28 @@
+From 5d8d75ab0c7f9e0009d90a2e5ad6475034a5c859 Mon Sep 17 00:00:00 2001
+From: Zumeng Chen <zumeng.chen@windriver.com>
+Date: Tue, 10 Jan 2012 12:41:45 +0800
+Subject: [PATCH 1/1] Fix compiling error on powerpc and arm
+
+For powerpc and arm, some MAP_ are defined asm/mman.h,
+so including it in header.
+
+Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
+---
+ common/runas.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/common/runas.c b/common/runas.c
+index f612ccc..62a2791 100644
+--- a/common/runas.c
++++ b/common/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
+
diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
new file mode 100644
index 0000000..cde57f7
--- /dev/null
+++ b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
@@ -0,0 +1,30 @@
+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 \
+                    file://gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+                    file://lgpl-2.1.txt;md5=0f0d71500e6a57fd24d825f33242b9ca"
+
+DEPENDS = "liburcu popt lttng-ust"
+
+SRCREV = "f2ca2e251d8f49b0dbbcca529dd61b3562c1147f"
+PV = "v2.0.pre16+git${SRCREV}"
+PR = "r0"
+
+SRC_URI = "git://git.lttng.org/lttng-tools.git;protocol=git\
+           file://lttng-tools-fix-compiling-error-for-powerpc-arm.patch"
+
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+export KERNELDIR="${STAGING_KERNEL_DIR}"
+
+# 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.
+COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'
-- 
1.7.5.4




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

* [PATCH 2/4] lttng-tools: Integrated from git repo.
       [not found] <cover.1326210673.git.zumeng.chen@windriver.com>
@ 2012-01-10 16:11 ` Zumeng Chen
  0 siblings, 0 replies; 18+ messages in thread
From: Zumeng Chen @ 2012-01-10 16:11 UTC (permalink / raw)
  To: yocto, dvhart, bruce.ashfield, sgw, richard.purdie; +Cc: openembedded-core

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.

Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
---
 ...tools-fix-compiling-error-for-powerpc-arm.patch |   28 +++++++++++++++++++
 .../lttng-2.0/lttng-tools_2.0-pre16.bb             |   29 ++++++++++++++++++++
 2 files changed, 57 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

diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch
new file mode 100644
index 0000000..f8e144f
--- /dev/null
+++ b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch
@@ -0,0 +1,28 @@
+From 5d8d75ab0c7f9e0009d90a2e5ad6475034a5c859 Mon Sep 17 00:00:00 2001
+From: Zumeng Chen <zumeng.chen@windriver.com>
+Date: Tue, 10 Jan 2012 12:41:45 +0800
+Subject: [PATCH 1/1] Fix compiling error on powerpc and arm
+
+For powerpc and arm, some MAP_ are defined asm/mman.h,
+so including it in header.
+
+Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
+---
+ common/runas.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/common/runas.c b/common/runas.c
+index f612ccc..62a2791 100644
+--- a/common/runas.c
++++ b/common/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
+
diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
new file mode 100644
index 0000000..d771ed9
--- /dev/null
+++ b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
@@ -0,0 +1,29 @@
+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 \
+                    file://gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+                    file://lgpl-2.1.txt;md5=0f0d71500e6a57fd24d825f33242b9ca"
+
+DEPENDS = "liburcu popt lttng-ust"
+
+SRCREV = "f2ca2e251d8f49b0dbbcca529dd61b3562c1147f"
+PV = "v2.0.pre16+git${SRCREV}"
+PR = "r0"
+
+SRC_URI = "git://git.lttng.org/lttng-tools.git;protocol=git\
+           file://lttng-tools-fix-compiling-error-for-powerpc-arm.patch"
+
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+export KERNELDIR="${STAGING_KERNEL_DIR}"
+
+# Currenly lttng-tools doesn't supprt MIPS officially.
+# So here let us keep as-is.
+COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'
-- 
1.7.5.4



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

* Re: [PATCH 2/4] lttng-tools: Integrated from git repo.
  2012-01-09 18:00   ` Darren Hart
@ 2012-01-10  3:22     ` Zumeng Chen
  0 siblings, 0 replies; 18+ messages in thread
From: Zumeng Chen @ 2012-01-10  3:22 UTC (permalink / raw)
  To: Darren Hart; +Cc: yocto

于 2012年01月10日 02:00, Darren Hart 写道:
>
> On 01/09/2012 01:24 AM, Zumeng Chen wrote:
>    
>> 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.
>>
>> Signed-off-by: Zumeng Chen<zumeng.chen@windriver.com>
>> ---
>>   ...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
>>
>> diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch
>> new file mode 100644
>> index 0000000..47b7b98
>> --- /dev/null
>> +++ b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch
>> @@ -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<zumeng.chen@windriver.com>
>> +---
>> + 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
>> +
>> diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
>> new file mode 100644
>> index 0000000..8a688c9
>> --- /dev/null
>> +++ b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
>> @@ -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."
>    
OK. fixed.
>    
>> +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}"
>> +
>>      
> Please include the reason for the COMPATIBLE_HOST test in all recipes.
>    
OK.
>    
>> +COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'
>>      
>    



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

* Re: [PATCH 2/4] lttng-tools: Integrated from git repo.
  2012-01-09  9:24 ` Zumeng Chen
@ 2012-01-09 18:00   ` Darren Hart
  2012-01-10  3:22     ` Zumeng Chen
  0 siblings, 1 reply; 18+ messages in thread
From: Darren Hart @ 2012-01-09 18:00 UTC (permalink / raw)
  To: Zumeng Chen; +Cc: yocto



On 01/09/2012 01:24 AM, Zumeng Chen wrote:
> 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.
> 
> Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
> ---
>  ...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
> 
> diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch
> new file mode 100644
> index 0000000..47b7b98
> --- /dev/null
> +++ b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch
> @@ -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 <zumeng.chen@windriver.com>
> +---
> + 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
> +
> diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
> new file mode 100644
> index 0000000..8a688c9
> --- /dev/null
> +++ b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
> @@ -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."

> +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}"
> +

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

> +COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux'

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


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

* [PATCH 2/4] lttng-tools: Integrated from git repo.
       [not found] <cover.1326099771.git.zumeng.chen@windriver.com>
@ 2012-01-09  9:24 ` Zumeng Chen
  2012-01-09 18:00   ` Darren Hart
  0 siblings, 1 reply; 18+ messages in thread
From: Zumeng Chen @ 2012-01-09  9:24 UTC (permalink / raw)
  To: yocto, dvhart

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.

Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
---
 ...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

diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch
new file mode 100644
index 0000000..47b7b98
--- /dev/null
+++ b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm.patch
@@ -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 <zumeng.chen@windriver.com>
+---
+ 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
+
diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
new file mode 100644
index 0000000..8a688c9
--- /dev/null
+++ b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
@@ -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'
-- 
1.7.5.4



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

* Re: [PATCH 2/4] lttng-tools: Integrated from git repo.
  2012-01-07  2:05   ` Darren Hart
@ 2012-01-09  4:31     ` Zumeng Chen
  0 siblings, 0 replies; 18+ messages in thread
From: Zumeng Chen @ 2012-01-09  4:31 UTC (permalink / raw)
  To: Darren Hart; +Cc: yocto

于 2012年01月07日 10:05, Darren Hart 写道:
> This commit message doesn't tell me anything about what this patch is
> intended to do.
>
>    
>> +++ b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm-and-mips.patch
>> @@ -0,0 +1,23 @@
>> +Upstream-Status: Pending
>> +
>> +lttng-tools: fix compiling error for powerpc, arm
>> +
>>      
> Add some commentary here about what the compilation error is.
>    
OK. in V2.
>    
>> +Signed-off-by: Zumeng Chen<zumeng.chen@windriver.com>
>> +---
>> + 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
>> +
>> diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
>> new file mode 100644
>> index 0000000..0b7a240
>> --- /dev/null
>> +++ b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
>> @@ -0,0 +1,24 @@
>> +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://fix-compiling-error-for-powerpc-arm-and-mips.patch"
>>      
> Whitespace error. Indent with spaces after the initial block indent
> (which doesn't exist here).
>    
fix.ed
>    
>> +
>> +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'
>>      
> This requires a comment as in the previous patch. Again, I don't think
> this is what you are looking for. You want to limit which target
> architectures you build this for. Right?
>    
Right, but the same reason for another email.

Regards,
Zumeng


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

* Re: [PATCH 2/4] lttng-tools: Integrated from git repo.
  2012-01-06  6:11 ` [PATCH 2/4] lttng-tools: Integrated from git repo Zumeng Chen
  2012-01-06  6:27   ` Zumeng Chen
@ 2012-01-07  2:05   ` Darren Hart
  2012-01-09  4:31     ` Zumeng Chen
  1 sibling, 1 reply; 18+ messages in thread
From: Darren Hart @ 2012-01-07  2:05 UTC (permalink / raw)
  To: Zumeng Chen; +Cc: yocto

This commit message doesn't tell me anything about what this patch is
intended to do.

> +++ b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm-and-mips.patch
> @@ -0,0 +1,23 @@
> +Upstream-Status: Pending
> +
> +lttng-tools: fix compiling error for powerpc, arm
> +

Add some commentary here about what the compilation error is.

> +Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
> +---
> + 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
> +
> diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
> new file mode 100644
> index 0000000..0b7a240
> --- /dev/null
> +++ b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
> @@ -0,0 +1,24 @@
> +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://fix-compiling-error-for-powerpc-arm-and-mips.patch"

Whitespace error. Indent with spaces after the initial block indent
(which doesn't exist here).

> +
> +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'

This requires a comment as in the previous patch. Again, I don't think
this is what you are looking for. You want to limit which target
architectures you build this for. Right?

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


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

* Re: [PATCH 2/4] lttng-tools: Integrated from git repo.
  2012-01-06  6:11 ` [PATCH 2/4] lttng-tools: Integrated from git repo Zumeng Chen
@ 2012-01-06  6:27   ` Zumeng Chen
  2012-01-07  2:05   ` Darren Hart
  1 sibling, 0 replies; 18+ messages in thread
From: Zumeng Chen @ 2012-01-06  6:27 UTC (permalink / raw)
  To: yocto, richard.purdie, bruce.ashfield, sgw

于 2012年01月06日 14:11, Zumeng Chen 写道
> +DEPENDS = "liburcu popt lttng-ust"
>   
And there is a depend on liburcu, which version should
>= 0.6.6,
it just has been updated recently. Lucky and Thanks :)

Regards,
Zumeng
> +
> +SRC_URI = "http://lttng.org/files/lttng-tools/lttng-tools-${PV}.tar.bz2 \
> +	   file://fix-compiling-error-for-powerpc-arm-and-mips.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'
>   



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

* [PATCH 2/4] lttng-tools: Integrated from git repo.
  2012-01-06  6:11 [PATCH 0/4]lttng-2.0 new recipe Zumeng Chen
@ 2012-01-06  6:11 ` Zumeng Chen
  2012-01-06  6:27   ` Zumeng Chen
  2012-01-07  2:05   ` Darren Hart
  0 siblings, 2 replies; 18+ messages in thread
From: Zumeng Chen @ 2012-01-06  6:11 UTC (permalink / raw)
  To: yocto, richard.purdie, bruce.ashfield, sgw

lttng-tools 2.0 is currently in pre-release phase (-pre16).

Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
---
 ...-compiling-error-for-powerpc-arm-and-mips.patch |   23 +++++++++++++++++++
 .../lttng-2.0/lttng-tools_2.0-pre16.bb             |   24 ++++++++++++++++++++
 2 files changed, 47 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm-and-mips.patch
 create mode 100644 meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb

diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm-and-mips.patch b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm-and-mips.patch
new file mode 100644
index 0000000..c971e78
--- /dev/null
+++ b/meta/recipes-kernel/lttng-2.0/lttng-tools-fix-compiling-error-for-powerpc-arm-and-mips.patch
@@ -0,0 +1,23 @@
+Upstream-Status: Pending
+
+lttng-tools: fix compiling error for powerpc, arm
+
+Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
+---
+ 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
+
diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
new file mode 100644
index 0000000..0b7a240
--- /dev/null
+++ b/meta/recipes-kernel/lttng-2.0/lttng-tools_2.0-pre16.bb
@@ -0,0 +1,24 @@
+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://fix-compiling-error-for-powerpc-arm-and-mips.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'
-- 
1.7.5.4



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

end of thread, other threads:[~2012-01-13  1:05 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-12  3:10 [V4] [PATCH 0/4] lttng-2.0 new recipe for merge Zumeng Chen
2012-01-12  3:11 ` [PATCH 1/4] lttng-ust: Integrate into yocto linux Zumeng Chen
2012-01-12  3:11 ` [PATCH 2/4] lttng-tools: Integrated from git repo Zumeng Chen
2012-01-12 22:04   ` Saul Wold
2012-01-13  0:55     ` zumeng.chen
2012-01-12  3:11 ` [PATCH 3/4] lttng-modules: from lttng-modules 2.0 " Zumeng Chen
2012-01-12  3:11 ` [PATCH 4/4] babeltrace: Integrated from version 0.8 Zumeng Chen
2012-01-12 22:06   ` Saul Wold
2012-01-13  0:57     ` zumeng.chen
     [not found] <cover.1326244852.git.zumeng.chen@windriver.com>
2012-01-11  1:30 ` [PATCH 2/4] lttng-tools: Integrated from git repo Zumeng Chen
     [not found] <cover.1326210673.git.zumeng.chen@windriver.com>
2012-01-10 16:11 ` Zumeng Chen
     [not found] <cover.1326099771.git.zumeng.chen@windriver.com>
2012-01-09  9:24 ` Zumeng Chen
2012-01-09 18:00   ` Darren Hart
2012-01-10  3:22     ` Zumeng Chen
  -- strict thread matches above, loose matches on Subject: below --
2012-01-06  6:11 [PATCH 0/4]lttng-2.0 new recipe Zumeng Chen
2012-01-06  6:11 ` [PATCH 2/4] lttng-tools: Integrated from git repo Zumeng Chen
2012-01-06  6:27   ` Zumeng Chen
2012-01-07  2:05   ` Darren Hart
2012-01-09  4:31     ` Zumeng Chen

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.