diff options
| author | Ingo Molnar <mingo@kernel.org> | 2013-10-09 05:49:27 -0400 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-10-11 11:18:08 -0400 |
| commit | 65fb09922d4ca5da54fe18d7b44e5961caf169ad (patch) | |
| tree | 683ae0b395d34a863cc3597fabc62de8ae4f6d56 /tools/perf/Documentation/Makefile | |
| parent | 8ec19c0eba73d7221e93e993c1c8bd62484354e9 (diff) | |
tools: Harmonize the various build messages in perf, lib-traceevent, lib-lk
The various build lines from libtraceevent and perf mix up during a
parallel build and produce unaligned output like:
CC builtin-buildid-list.o
CC builtin-buildid-cache.o
CC builtin-list.o
CC FPIC trace-seq.o
CC builtin-record.o
CC FPIC parse-filter.o
CC builtin-report.o
CC builtin-stat.o
CC FPIC parse-utils.o
CC FPIC kbuffer-parse.o
CC builtin-timechart.o
CC builtin-top.o
CC builtin-script.o
BUILD STATIC LIB libtraceevent.a
CC builtin-probe.o
CC builtin-kmem.o
CC builtin-lock.o
To solve this, harmonize all the build message alignments to be similar
to the kernel's kbuild output: prefixed by two spaces and 11-char wide.
After the patch the output looks pretty tidy, even if output lines get
mixed up:
CC builtin-annotate.o
FLAGS: * new build flags or cross compiler
CC builtin-bench.o
AR liblk.a
CC bench/sched-messaging.o
CC FPIC event-parse.o
CC bench/sched-pipe.o
CC FPIC trace-seq.o
CC bench/mem-memcpy.o
CC bench/mem-memset.o
CC FPIC parse-filter.o
CC builtin-diff.o
CC builtin-evlist.o
CC builtin-help.o
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1381312169-17354-3-git-send-email-mingo@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation/Makefile')
| -rw-r--r-- | tools/perf/Documentation/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/tools/perf/Documentation/Makefile b/tools/perf/Documentation/Makefile index be5adb1e0290..c4c300cf155f 100644 --- a/tools/perf/Documentation/Makefile +++ b/tools/perf/Documentation/Makefile | |||
| @@ -145,16 +145,17 @@ endif | |||
| 145 | 145 | ||
| 146 | ifneq ($(findstring $(MAKEFLAGS),s),s) | 146 | ifneq ($(findstring $(MAKEFLAGS),s),s) |
| 147 | ifneq ($(V),1) | 147 | ifneq ($(V),1) |
| 148 | QUIET_ASCIIDOC = @echo ' ' ASCIIDOC $@; | 148 | QUIET_ASCIIDOC = @echo ' ASCIIDOC '$@; |
| 149 | QUIET_XMLTO = @echo ' ' XMLTO $@; | 149 | QUIET_XMLTO = @echo ' XMLTO '$@; |
| 150 | QUIET_DB2TEXI = @echo ' ' DB2TEXI $@; | 150 | QUIET_DB2TEXI = @echo ' DB2TEXI '$@; |
| 151 | QUIET_MAKEINFO = @echo ' ' MAKEINFO $@; | 151 | QUIET_MAKEINFO = @echo ' MAKEINFO '$@; |
| 152 | QUIET_DBLATEX = @echo ' ' DBLATEX $@; | 152 | QUIET_DBLATEX = @echo ' DBLATEX '$@; |
| 153 | QUIET_XSLTPROC = @echo ' ' XSLTPROC $@; | 153 | QUIET_XSLTPROC = @echo ' XSLTPROC '$@; |
| 154 | QUIET_GEN = @echo ' ' GEN $@; | 154 | QUIET_GEN = @echo ' GEN '$@; |
| 155 | QUIET_STDERR = 2> /dev/null | 155 | QUIET_STDERR = 2> /dev/null |
| 156 | QUIET_SUBDIR0 = +@subdir= | 156 | QUIET_SUBDIR0 = +@subdir= |
| 157 | QUIET_SUBDIR1 = ;$(NO_SUBDIR) echo ' ' SUBDIR $$subdir; \ | 157 | QUIET_SUBDIR1 = ;$(NO_SUBDIR) \ |
| 158 | echo ' SUBDIR ' $$subdir; \ | ||
| 158 | $(MAKE) $(PRINT_DIR) -C $$subdir | 159 | $(MAKE) $(PRINT_DIR) -C $$subdir |
| 159 | export V | 160 | export V |
| 160 | endif | 161 | endif |
