All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: Zumeng Chen <zumeng.chen@windriver.com>
Cc: yocto@yoctoproject.org
Subject: Re: [PATCH 2/4] lttng-tools: Integrated from git repo.
Date: Mon, 09 Jan 2012 10:00:00 -0800	[thread overview]
Message-ID: <4F0B2B20.9070500@linux.intel.com> (raw)
In-Reply-To: <4d2eab943403db0472740d4dafbfd99bab659b24.1326099771.git.zumeng.chen@windriver.com>



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


  reply	other threads:[~2012-01-09 18:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1326099771.git.zumeng.chen@windriver.com>
2012-01-09  9:24 ` [PATCH 1/4] lttng-ust: Integrate into yocto linux Zumeng Chen
2012-01-09 17:57   ` Darren Hart
2012-01-10  3:23     ` Zumeng Chen
2012-01-09  9:24 ` [PATCH 2/4] lttng-tools: Integrated from git repo Zumeng Chen
2012-01-09 18:00   ` Darren Hart [this message]
2012-01-10  3:22     ` Zumeng Chen
2012-01-09  9:24 ` [PATCH 3/4] lttng-modules: from lttng-modules 2.0 " Zumeng Chen
2012-01-09  9:24 ` [PATCH 4/4] babeltrace: Integrated from version 0.8 Zumeng Chen
2012-01-12  3:10 [V4] [PATCH 0/4] lttng-2.0 new recipe for merge 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
     [not found] <cover.1326244852.git.zumeng.chen@windriver.com>
2012-01-11  1:30 ` Zumeng Chen
     [not found] <cover.1326210673.git.zumeng.chen@windriver.com>
2012-01-10 16:11 ` 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F0B2B20.9070500@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=yocto@yoctoproject.org \
    --cc=zumeng.chen@windriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.