Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1286586

Re: [PATCH 00/13] perf tools: Move perf subcommand framework into lib/tools

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 00/13] perf tools: Move perf subcommand framework into lib/tools
Date 2015-12-08 16:30 +0100
Message-ID <qDsng-44U-19@gated-at.bofh.it> (permalink)
References (2 earlier) <qCJTb-nk-1@gated-at.bofh.it> <qCNN8-38D-1@gated-at.bofh.it> <qCZEB-28M-1@gated-at.bofh.it> <qDrUd-3FR-5@gated-at.bofh.it> <qDrUd-3FR-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Em Tue, Dec 08, 2015 at 11:55:31AM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Tue, Dec 08, 2015 at 11:52:33AM -0300, Arnaldo Carvalho de Melo escreveu:
> > Em Mon, Dec 07, 2015 at 09:46:48AM +0100, Jiri Olsa escreveu:
> > > On Sun, Dec 06, 2015 at 02:02:42PM -0600, Josh Poimboeuf wrote:
> > > > I think the problem is that you have a stale version of the
> > > > auto-generated file llvm-src-base.c.  Looks like "make clean" doesn't
> > > > remove it.  I'll add a patch to fix it.
> 
> > > FYI I switched back to Arnaldo's perf/core and did 'make clean && make'
> > > which passed, then switched back to your change and build failed again
>  
> > Even after his patches, it doesn't work, but I think this time he is not
> > taking $(OUTPUT) into account, and as I do use "O=/tmp/build/perf/" it
> > fails, trying to fix this...
> 
> Nah, that was me not using O= for the 'make clean' call, after I do
> that, it works.
> 
> But its sad everytime we introduce the need to run 'make clean' to
> regain a clean build environment :-\

Ok, now trying to run:

 make -C tools/perf build-test

It fails here with:

[acme@ssdandy linux]$ cat ./tools/perf/make_clean_all_O
cd . && make -f Makefile O=/tmp/tmp.4iuuIJy0Ia DESTDIR=/tmp/tmp.EeBhrZY9H2 clean all
  CLEAN    libtraceevent
  CLEAN    libapi
  CLEAN    libbpf
  CLEAN    config
  CLEAN    feature
  CLEAN    tests
find: ‘/tmp/tmp.4iuuIJy0Ia/tests’: No such file or directory
make[4]: *** [tests-clean] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [clean] Error 2
[acme@ssdandy linux]$

This is after applying:

[acme@ssdandy perf]$ git log --oneline | head -3
dbb37aec117a perf tools: Use -iquote for local include paths
e32ac4f249a1 perf tools: Fix 'make clean'
a30c99a0beb3 Merge branch 'perf/urgent' into perf/core, to pick up fixes
[acme@ssdandy perf]$ 

-----------------------------------------------------------------------------------------------

[acme@ssdandy linux]$ ls -la /tmp/tmp.EeBhrZY9H2
total 4
drwx------.  2 acme acme    6 Dec  8 12:17 .
drwxrwxrwt. 26 root root 4096 Dec  8 12:17 ..
[acme@ssdandy linux]$ 
[acme@ssdandy linux]$ cd tools/perf
[acme@ssdandy perf]$ make -f Makefile O=/tmp/tmp.4iuuIJy0Ia DESTDIR=/tmp/tmp.EeBhrZY9H2 clean all
  CLEAN    libtraceevent
  CLEAN    libapi
  CLEAN    libbpf
  CLEAN    config
  CLEAN    feature
  CLEAN    tests
find: ‘/tmp/tmp.4iuuIJy0Ia/tests’: No such file or directory
make[1]: *** [tests-clean] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [clean] Error 2
[acme@ssdandy perf]$ 

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/13] perf tools: Move perf subcommand framework into lib/tools Josh Poimboeuf <jpoimboe@redhat.com> - 2015-12-04 23:10 +0100
  Re: [PATCH 00/13] perf tools: Move perf subcommand framework into  lib/tools Ingo Molnar <mingo@kernel.org> - 2015-12-06 10:40 +0100
    Re: [PATCH 00/13] perf tools: Move perf subcommand framework into  lib/tools Jiri Olsa <jolsa@redhat.com> - 2015-12-06 17:00 +0100
      Re: [PATCH 00/13] perf tools: Move perf subcommand framework into  lib/tools Josh Poimboeuf <jpoimboe@redhat.com> - 2015-12-06 21:10 +0100
        Re: [PATCH 00/13] perf tools: Move perf subcommand framework into  lib/tools Jiri Olsa <jolsa@redhat.com> - 2015-12-07 09:50 +0100
          Re: [PATCH 00/13] perf tools: Move perf subcommand framework into  lib/tools Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-12-08 16:00 +0100
            Re: [PATCH 00/13] perf tools: Move perf subcommand framework into  lib/tools Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-12-08 16:30 +0100
              Re: [PATCH 00/13] perf tools: Move perf subcommand framework into  lib/tools Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-12-08 16:50 +0100
            Re: [PATCH 00/13] perf tools: Move perf subcommand framework into  lib/tools Josh Poimboeuf <jpoimboe@redhat.com> - 2015-12-08 16:30 +0100
          Re: [PATCH 00/13] perf tools: Move perf subcommand framework into  lib/tools Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-12-08 16:00 +0100
    Re: [PATCH 00/13] perf tools: Move perf subcommand framework into  lib/tools Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-12-06 19:30 +0100

csiph-web