On Wed, May 30, 2018 at 10:47:35AM +0200, Pavlos Parissis wrote:
Hi,
Building kernel version 4.14.45 fails on me with:
DEBUG: builtin-record.c: In function '__cmd_record': DEBUG: builtin-record.c:935:6: error: 'data' undeclared (first use in this function) DEBUG: if (data->is_pipe && rec->evlist->nr_entries == 1) DEBUG: ^ DEBUG: builtin-record.c:935:6: note: each undeclared identifier is reported only once for each function it appears in DEBUG: CC util/evsel_fprintf.o DEBUG: CC builtin-top.o DEBUG: CC util/find_bit.o DEBUG: CC util/kallsyms.o DEBUG: CC builtin-script.o DEBUG: CC util/levenshtein.o DEBUG: CC util/llvm-utils.o DEBUG: mv: cannot stat './.builtin-record.o.tmp': No such file or directory DEBUG: make[3]: *** [builtin-record.o] Error 1 DEBUG: make[3]: *** Waiting for unfinished jobs....
It could be related to f766148e47d7 ("perf record: Fix crash in pipe mode"). Am I the only seeing this failure?
Yes, reverting that patch fixes it for me. Let me go push out a .46 release with that fix in it, thanks for the quick report.
greg k-h