1
0
Fork 0
remarkable-linux/tools/perf
Eric Sandeen e6048fb860 perf tools: Fix parallel build
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: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/505BD190.40707@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2012-09-21 12:13:21 -03:00
..
Documentation perf diff: Make diff command work with evsel hists 2012-09-07 21:44:02 -03:00
arch perf tools: Support for DWARF CFI unwinding on post processing 2012-08-11 15:06:56 -03:00
bench perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
config perf tools: add NO_BACKTRACE for application self-debugging 2012-09-07 22:12:30 -03:00
python perf python: Use attr.watermark in twatch.py 2012-01-30 18:38:23 -02:00
scripts perf scripts: Add event_analyzing_sample-record/report 2012-09-17 13:11:15 -03:00
ui perf hists browser: Fix first column printing 2012-09-14 15:50:14 -03:00
util perf tools: Fix a compiling error in util/map.c 2012-09-20 08:36:34 -03:00
.gitignore perf tools: Ignore compiled python binaries 2012-09-07 12:10:58 -03:00
CREDITS perf_counter tools: Add CREDITS file for Git contributors 2009-06-24 19:54:29 +02:00
MANIFEST perf tools: Add missing perf_regs.h file to MANIFEST 2012-09-11 11:42:41 -03:00
Makefile perf tools: Fix parallel build 2012-09-21 12:13:21 -03:00
bash_completion perf tools: Support for events bash completion 2012-08-09 15:59:26 -03:00
builtin-annotate.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-bench.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-buildid-cache.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-buildid-list.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-diff.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-evlist.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-help.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-inject.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-kmem.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-kvm.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-list.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-lock.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-probe.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-record.c perf record: Print event causing perf_event_open() to fail 2012-09-20 14:44:17 -03:00
builtin-report.c perf report: Add missing perf_hpp__init for pipe-mode 2012-09-17 13:11:33 -03:00
builtin-sched.c perf sched: Fixup for the die() removal 2012-09-14 15:48:38 -03:00
builtin-script.c perf scripts: Export a find_scripts() function 2012-09-17 13:11:26 -03:00
builtin-stat.c perf stat: Check PMU cpumask file 2012-09-17 13:12:02 -03:00
builtin-test.c perf test: Fixup for the die() removal 2012-09-14 15:48:27 -03:00
builtin-timechart.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-top.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin.h perf scripts: Export a find_scripts() function 2012-09-17 13:11:26 -03:00
command-list.txt perf symbols: Support minimal build without libelf 2012-08-09 16:26:38 -03:00
design.txt perf tools: Update ioctl documentation for PERF_IOC_FLAG_GROUP 2012-05-31 11:38:42 -03:00
perf-archive.sh perf archive: Make 'f' the last parameter for tar 2012-09-17 13:10:42 -03:00
perf.c perf tools: include missing pthread.h header 2012-09-07 22:08:09 -03:00
perf.h perf tools: Support for DWARF mode callchain 2012-08-11 15:07:18 -03:00