From: "Wangnan (F)" <wangnan0@huawei.com>
To: <dsahern@gmail.com>, <hpa@zytor.com>, <jolsa@redhat.com>,
<namhyung@kernel.org>, <acme@redhat.com>, <tglx@linutronix.de>,
<linux-kernel@vger.kernel.org>, <bp@suse.de>,
<adrian.hunter@intel.com>, <mingo@kernel.org>,
<yury.norov@gmail.com>, <linux@rasmusvillemoes.dk>,
<linux-tip-commits@vger.kernel.org>
Subject: Re: [tip:perf/core] tools lib: Move bitmap.[ch] from tools/perf/ to tools/{lib,include}/
Date: Mon, 11 Jan 2016 11:14:26 +0800 [thread overview]
Message-ID: <56931E12.8030506@huawei.com> (raw)
In-Reply-To: <tip-7lxe7jgohaac5faodndhdmvk@git.kernel.org>
Hi Arnaldo,
Now its your turn:
you forget to update MANIFEST and it is found by make build-test :)
Thank you.
On 2016/1/10 0:36, tip-bot for Arnaldo Carvalho de Melo wrote:
> Commit-ID: 915b0882c3108a21e9b3b5e176d3151ad522242d
> Gitweb: http://git.kernel.org/tip/915b0882c3108a21e9b3b5e176d3151ad522242d
> Author: Arnaldo Carvalho de Melo <acme@redhat.com>
> AuthorDate: Fri, 8 Jan 2016 12:33:37 -0300
> Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
> CommitDate: Fri, 8 Jan 2016 12:35:46 -0300
>
> tools lib: Move bitmap.[ch] from tools/perf/ to tools/{lib,include}/
>
> So that lib/find_bit.c doesn't requires anything inside tools/perf/
>
> Cc: Adrian Hunter <adrian.hunter@intel.com>
> Cc: Borislav Petkov <bp@suse.de>
> Cc: David Ahern <dsahern@gmail.com>
> Cc: George Spelvin <linux@horizon.com
> Cc: Jiri Olsa <jolsa@redhat.com>
> Cc: Namhyung Kim <namhyung@kernel.org>
> Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
> Cc: Wang Nan <wangnan0@huawei.com>
> Cc: Yury Norov <yury.norov@gmail.com>
> Link: http://lkml.kernel.org/n/tip-7lxe7jgohaac5faodndhdmvk@git.kernel.org
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
> ---
> tools/{perf/util => }/include/linux/bitmap.h | 0
> tools/{perf/util => lib}/bitmap.c | 0
> tools/perf/util/Build | 5 +++++
> tools/perf/util/python-ext-sources | 2 +-
> 4 files changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/tools/perf/util/include/linux/bitmap.h b/tools/include/linux/bitmap.h
> similarity index 100%
> rename from tools/perf/util/include/linux/bitmap.h
> rename to tools/include/linux/bitmap.h
> diff --git a/tools/perf/util/bitmap.c b/tools/lib/bitmap.c
> similarity index 100%
> rename from tools/perf/util/bitmap.c
> rename to tools/lib/bitmap.c
> diff --git a/tools/perf/util/Build b/tools/perf/util/Build
> index e8bc10b..5eec53a 100644
> --- a/tools/perf/util/Build
> +++ b/tools/perf/util/Build
> @@ -132,6 +132,7 @@ CFLAGS_pmu-bison.o += -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -w
> $(OUTPUT)util/parse-events.o: $(OUTPUT)util/parse-events-flex.c $(OUTPUT)util/parse-events-bison.c
> $(OUTPUT)util/pmu.o: $(OUTPUT)util/pmu-flex.c $(OUTPUT)util/pmu-bison.c
>
> +CFLAGS_bitmap.o += -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"
> CFLAGS_find_bit.o += -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"
> CFLAGS_rbtree.o += -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"
> CFLAGS_libstring.o += -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"
> @@ -142,6 +143,10 @@ $(OUTPUT)util/kallsyms.o: ../lib/symbol/kallsyms.c FORCE
> $(call rule_mkdir)
> $(call if_changed_dep,cc_o_c)
>
> +$(OUTPUT)util/bitmap.o: ../lib/bitmap.c FORCE
> + $(call rule_mkdir)
> + $(call if_changed_dep,cc_o_c)
> +
> $(OUTPUT)util/find_bit.o: ../lib/find_bit.c FORCE
> $(call rule_mkdir)
> $(call if_changed_dep,cc_o_c)
> diff --git a/tools/perf/util/python-ext-sources b/tools/perf/util/python-ext-sources
> index f15d14f..8162ba0 100644
> --- a/tools/perf/util/python-ext-sources
> +++ b/tools/perf/util/python-ext-sources
> @@ -10,7 +10,7 @@ util/ctype.c
> util/evlist.c
> util/evsel.c
> util/cpumap.c
> -util/bitmap.c
> +../lib/bitmap.c
> ../lib/find_bit.c
> ../lib/hweight.c
> util/thread_map.c
prev parent reply other threads:[~2016-01-11 3:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-09 16:36 [tip:perf/core] tools lib: Move bitmap.[ch] from tools/perf/ to tools/{lib,include}/ tip-bot for Arnaldo Carvalho de Melo
2016-01-11 3:14 ` Wangnan (F) [this message]
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=56931E12.8030506@huawei.com \
--to=wangnan0@huawei.com \
--cc=acme@redhat.com \
--cc=adrian.hunter@intel.com \
--cc=bp@suse.de \
--cc=dsahern@gmail.com \
--cc=hpa@zytor.com \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=linux@rasmusvillemoes.dk \
--cc=mingo@kernel.org \
--cc=namhyung@kernel.org \
--cc=tglx@linutronix.de \
--cc=yury.norov@gmail.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.