Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965767AbbKFTVA (ORCPT ); Fri, 6 Nov 2015 14:21:00 -0500 Received: from mail.kernel.org ([198.145.29.136]:57179 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757600AbbKFTUx (ORCPT ); Fri, 6 Nov 2015 14:20:53 -0500 Date: Fri, 6 Nov 2015 16:20:46 -0300 From: Arnaldo Carvalho de Melo To: Wang Nan Cc: namhyung@kernel.org, lizefan@huawei.com, pi3orama@163.com, linux-kernel@vger.kernel.org, jolsa@kernel.org, Ingo Molnar , Alexei Starovoitov Subject: Re: [PATCH v2 0/7] perf tools: improve BPF related error delivering and testing Message-ID: <20151106192046.GG13236@kernel.org> References: <1446817783-86722-1-git-send-email-wangnan0@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1446817783-86722-1-git-send-email-wangnan0@huawei.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4572 Lines: 128 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 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/