tools lib: Move bitmap.[ch] from tools/perf/ to tools/{lib,include}/
Subsystems (2)
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 915b0882c3108a21e9b3b5e176d3151ad522242d Gitweb: http://git.kernel.org/tip/915b0882c3108a21e9b3b5e176d3151ad522242d Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Fri, 8 Jan 2016 12:33:37 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> 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 <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc David Ahern <[email protected]>
Cc George Spelvin <[email protected]
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Rasmus Villemoes <[email protected]>
Cc Wang Nan <[email protected]>
Cc Yury Norov <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
---
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(-)tools/include/linux/bitmap.h renamed from tools/perf/util/include/linux/bitmap.h +0 -0
tools/lib/bitmap.c renamed from tools/perf/util/bitmap.c +0 -0
tools/perf/util/Build +5 -0
@@ -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)
tools/perf/util/python-ext-sources +1 -1
@@ -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
Hi Arnaldo,
Now its your turn:
you forget to update MANIFEST and it is found by make build-test :)
Thank you.
Quoted 73 lines · tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 915b0882c3108a21e9b3b5e176d3151ad522242d Gitweb: http://git.kernel.org/tip/915b0882c3108a21e9b3b5e176d3151ad522242d Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Fri, 8 Jan 2016 12:33:37 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Fri, 8 Jan 2016 12:35:46 -0300tools lib: Move bitmap.[ch] from
tools/perf/totools/{lib,include}/So that
lib/find_bit.cdoesn't requires anything insidetools/perf/Cc Adrian Hunter <[email protected]>Cc Borislav Petkov <[email protected]>Cc David Ahern <[email protected]>Cc George Spelvin <[email protected]Cc Jiri Olsa <[email protected]>Cc Namhyung Kim <[email protected]>Cc Rasmus Villemoes <[email protected]>Cc Wang Nan <[email protected]>Cc Yury Norov <[email protected]>Signed-off-by Arnaldo Carvalho de Melo <[email protected]>--- 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(-)tools/include/linux/bitmap.h renamed from tools/perf/util/include/linux/bitmap.h +0
-0tools/lib/bitmap.c renamed from tools/perf/util/bitmap.c +0
-0tools/perf/util/Build +5
-0@@ -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)tools/perf/util/python-ext-sources +1
-1@@ -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