• Ingo Molnar's avatar
    tools: Harmonize the various build messages in perf, lib-traceevent, lib-lk · 65fb0992
    Ingo Molnar authored
    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: default avatarIngo 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.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    65fb0992
Makefile 9.47 KB