Messages in this thread | | | Date | Thu, 26 Nov 2015 10:09:26 +0100 | From | Jiri Olsa <> | Subject | Re: [GIT PULL 0/7] perf/core improvements and fixes |
| |
On Thu, Nov 26, 2015 at 09:12:37AM +0100, Ingo Molnar wrote:
SNIP
> fixdep: error opening depfile: ./.plugin_hrtimer.o.d: No such file or directory > /home/mingo/tip/tools/build/Makefile.build:77: recipe for target > 'plugin_hrtimer.o' failed > make[3]: *** [plugin_hrtimer.o] Error 2 > Makefile:189: recipe for target 'plugin_hrtimer-in.o' failed > make[2]: *** [plugin_hrtimer-in.o] Error 2 > Makefile.perf:414: recipe for target 'libtraceevent_plugins' failed > make[1]: *** [libtraceevent_plugins] Error 2 > make[1]: *** Waiting for unfinished jobs.... > CC plugin_kvm.o > CC builtin-sched.o > CC plugin_mac80211.o > LD plugin_kmem-in.o > CC util/help.o > > Can you reproduce it by adding 'sleep 1' (or 'sleep 2') to the end of > util/PERF-VERSION-GEN? (See the patch attached further below.) > > The failure is sporadic even with the 'sleep 1' hack - I get a build failure 1 out > of 3 times maybe: > > triton:~/tip/tools/perf> while : ; do echo -n "$(date) "; make clean install >/tmp/FAIL.log 2>&1 && echo pass || { echo 'FAIL!'; break; } done > Thu Nov 26 09:07:12 CET 2015 pass > Thu Nov 26 09:07:23 CET 2015 FAIL! > > Interestingly it does not reproduce if I use '>FAIL.log' - I need to output the > log into tmpfs - maybe the extra VFS synchronization if logging to the same > filesystem where the build occurs hides the race? > > With V=1 it takes a lot longer to reproduce: > > triton:~/tip/tools/perf> while : ; do echo -n "$(date) "; make clean install V=1 >/tmp/FAIL.log 2>&1 && echo pass || { echo 'FAIL!'; break; } done > Thu Nov 26 09:08:08 CET 2015 pass > Thu Nov 26 09:08:20 CET 2015 pass > Thu Nov 26 09:08:32 CET 2015 pass > Thu Nov 26 09:08:43 CET 2015 pass > Thu Nov 26 09:08:55 CET 2015 pass > Thu Nov 26 09:09:06 CET 2015 pass > Thu Nov 26 09:09:17 CET 2015 pass > Thu Nov 26 09:09:29 CET 2015 pass > Thu Nov 26 09:09:41 CET 2015 FAIL!
so far no luck on my side.. from quick check over the fail log it seems the patch I sent yesterday could help:
http://lkml.iu.edu/hypermail/linux/kernel/1511.3/00186.html
I'll have more detailed check on your fail log,
thanks, jirka
| |