Re: [PATCH v2 0/7] perf tools: improve BPF related error delivering and testing

From: Arnaldo Carvalho de Melo
Date: Fri Nov 06 2015 - 14:21:05 EST


Em Fri, Nov 06, 2015 at 01:49:36PM +0000, Wang Nan escreveu:
> This patchset is based on Arnaldo's perf/core.
>
> Previous version can be found from [1].
>
> Patch 1/7 - 4/7 are error message related patches.
>
> Patch 5/7 - 7/7 are testing related patches.
>

I'll try to fix this one and then push all this, looking really good!

- Arnaldo

- make_no_libbpf: cd . && make -f Makefile DESTDIR=/tmp/tmp.qfPojSrh2g NO_LIBBPF=1
cd . && make -f Makefile DESTDIR=/tmp/tmp.qfPojSrh2g NO_LIBBPF=1
BUILD: Doing 'make -j4' parallel build

Auto-detecting system features:
... dwarf: [ on ]
... glibc: [ on ]
... gtk2: [ on ]
... libaudit: [ on ]
... libbfd: [ on ]
... libelf: [ on ]
... libnuma: [ on ]
... numa_num_possible_cpus: [ on ]
... libperl: [ on ]
... libpython: [ on ]
... libslang: [ on ]
... libunwind: [ on ]
... libdw-dwarf-unwind: [ on ]
... zlib: [ on ]
... lzma: [ on ]
... get_cpuid: [ on ]
... bpf: [ on ]

GEN common-cmds.h
CC fixdep.o
LD fixdep-in.o
FLEX util/parse-events-flex.c
<SNIP>
FLEX util/pmu-flex.c
CC util/pmu-bison.o
CC util/parse-events.o
CC ui/browsers/annotate.o
CC ui/tui/setup.o
In file included from util/parse-events.c:14:0:
util/bpf-loader.h:84:5: error: no previous prototype for âbpf__strerror_prepare_loadâ [-Werror=missing-prototypes]
int bpf__strerror_prepare_load(const char *filename __maybe_unused,
^
cc1: all warnings being treated as errors
mv: cannot stat âutil/.parse-events.o.tmpâ: No such file or directory
make[6]: *** [util/parse-events.o] Error 1
make[5]: *** [util] Error 2
make[5]: *** Waiting for unfinished jobs....
CC ui/browsers/hists.o
LD bench/perf-in.o
CC tests/builtin-test.o
CC ui/tui/util.o
CC ui/tui/helpline.o
CC tests/parse-events.o
CC ui/tui/progress.o
CC ui/browsers/map.o
LD ui/tui/libperf-in.o
CC ui/browsers/scripts.o
CC ui/browsers/header.o
GEN python/perf.so
CC tests/dso-data.o
CC tests/attr.o
LD ui/browsers/libperf-in.o
CC tests/vmlinux-kallsyms.o
LD ui/libperf-in.o
make[4]: *** [libperf-in.o] Error 2
make[4]: *** Waiting for unfinished jobs....
CC perf.o
CC tests/openat-syscall.o
In file included from perf.c:18:0:
util/bpf-loader.h:84:5: error: no previous prototype for âbpf__strerror_prepare_loadâ [-Werror=missing-prototypes]
int bpf__strerror_prepare_load(const char *filename __maybe_unused,
^
cc1: all warnings being treated as errors
mv: cannot stat â./.perf.o.tmpâ: No such file or directory
make[5]: *** [perf.o] Error 1
make[5]: *** Waiting for unfinished jobs....
CC tests/openat-syscall-all-cpus.o
CC tests/openat-syscall-tp-fields.o
CC tests/mmap-basic.o
CC tests/perf-record.o
CC tests/evsel-roundtrip-name.o
CC tests/evsel-tp-sched.o
CC tests/fdarray.o
CC tests/pmu.o
CC tests/hists_common.o
CC tests/hists_link.o
CC tests/hists_filter.o
CC tests/hists_output.o
CC tests/hists_cumulate.o
CC tests/python-use.o
CC tests/bp_signal.o
CC tests/bp_signal_overflow.o
CC tests/task-exit.o
CC tests/sw-clock.o
CC tests/mmap-thread-lookup.o
CC tests/thread-mg-share.o
CC tests/switch-tracking.o
CC tests/keep-tracking.o
CC tests/code-reading.o
CC tests/sample-parsing.o
CC tests/parse-no-sample-id-all.o
CC tests/kmod-path.o
CC tests/thread-map.o
CC tests/llvm.o
CC tests/topology.o
CC tests/dwarf-unwind.o
LD tests/perf-in.o
make[4]: *** [perf-in.o] Error 2
make[3]: *** [all] Error 2
test: test -x ./perf
make[2]: *** [make_no_libbpf] Error 1
make[1]: *** [all] Error 2
make: *** [build-test] Error 2
make: Leaving directory `/home/acme/git/linux/tools/perf'
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/