Skip to content
  • Bruce Ashfield's avatar
    bf73fc5f
    perf tools: Fix parallel build · bf73fc5f
    Bruce Ashfield authored
    
    
    1/2 [
    Author: Eric Sandeen
    Email: sandeen@redhat.com
    Subject: perf tools: Fix parallel build
    Date: Thu, 20 Sep 2012 21:31:44 -0500
    
    Parallel builds of perf were failing for me on a 32p box, with:
    
        * new build flags or prefix
    util/pmu.l:7:23: error: pmu-bison.h: No such file or directory
    
    ...
    
    make: *** [util/pmu-flex.o] Error 1
    make: *** Waiting for unfinished jobs....
    
    This can pretty quickly be seen by adding a sleep in front of the bison
    calls in tools/perf/Makefile and running make -j4 on a smaller box i.e.:
    
    	sleep 10; $(QUIET_BISON)$(BISON) -v util/pmu.y -d -o $(OUTPUT)util/pmu-bison.c
    
    Adding the following dependencies fixes it for me.
    
    Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
    Reviewed-by: default avatarNamhyung Kim <namhyung@kernel.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Link: http://lkml.kernel.org/r/505BD190.40707@redhat.com
    
    
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    ]
    
    2/2 [
    Author: Tom Zanussi
    Email: tom.zanussi@intel.com
    Subject: perf annotate: replace 'expand' with equivalent sed expression
    Date: Fri, 5 Oct 2012 11:35:26 -0500
    
    We don't have 'expand' in our userspace so we need to accomplish the
    same thing using 'sed', which we do have.
    
    Signed-off-by: default avatarTom Zanussi <tom.zanussi@intel.com>
    ]
    
    Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@windriver.com>
    bf73fc5f
    perf tools: Fix parallel build
    Bruce Ashfield authored
    
    
    1/2 [
    Author: Eric Sandeen
    Email: sandeen@redhat.com
    Subject: perf tools: Fix parallel build
    Date: Thu, 20 Sep 2012 21:31:44 -0500
    
    Parallel builds of perf were failing for me on a 32p box, with:
    
        * new build flags or prefix
    util/pmu.l:7:23: error: pmu-bison.h: No such file or directory
    
    ...
    
    make: *** [util/pmu-flex.o] Error 1
    make: *** Waiting for unfinished jobs....
    
    This can pretty quickly be seen by adding a sleep in front of the bison
    calls in tools/perf/Makefile and running make -j4 on a smaller box i.e.:
    
    	sleep 10; $(QUIET_BISON)$(BISON) -v util/pmu.y -d -o $(OUTPUT)util/pmu-bison.c
    
    Adding the following dependencies fixes it for me.
    
    Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
    Reviewed-by: default avatarNamhyung Kim <namhyung@kernel.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Link: http://lkml.kernel.org/r/505BD190.40707@redhat.com
    
    
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    ]
    
    2/2 [
    Author: Tom Zanussi
    Email: tom.zanussi@intel.com
    Subject: perf annotate: replace 'expand' with equivalent sed expression
    Date: Fri, 5 Oct 2012 11:35:26 -0500
    
    We don't have 'expand' in our userspace so we need to accomplish the
    same thing using 'sed', which we do have.
    
    Signed-off-by: default avatarTom Zanussi <tom.zanussi@intel.com>
    ]
    
    Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@windriver.com>
Loading