All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Wang Nan <wangnan0@huawei.com>
Cc: namhyung@kernel.org, lizefan@huawei.com, pi3orama@163.com,
	linux-kernel@vger.kernel.org, jolsa@kernel.org,
	Ingo Molnar <mingo@kernel.org>,
	Alexei Starovoitov <ast@plumgrid.com>
Subject: Re: [PATCH v2 0/7] perf tools: improve BPF related error delivering and testing
Date: Fri, 6 Nov 2015 16:20:46 -0300	[thread overview]
Message-ID: <20151106192046.GG13236@kernel.org> (raw)
In-Reply-To: <1446817783-86722-1-git-send-email-wangnan0@huawei.com>

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'

      parent reply	other threads:[~2015-11-06 19:21 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-06 13:49 [PATCH v2 0/7] perf tools: improve BPF related error delivering and testing Wang Nan
2015-11-06 13:49 ` [PATCH v2 1/7] bpf tools: Improve libbpf error reporting Wang Nan
2015-11-06 14:06   ` Arnaldo Carvalho de Melo
2015-11-08  7:32   ` [tip:perf/urgent] " tip-bot for Wang Nan
2015-11-06 13:49 ` [PATCH v2 2/7] bpf tools: Add new API bpf_object__get_kversion() Wang Nan
2015-11-08  7:32   ` [tip:perf/urgent] bpf tools: Add new API bpf_object__get_kversion () tip-bot for Wang Nan
2015-11-06 13:49 ` [PATCH v2 3/7] perf tools: Make fetch_kernel_version() public available Wang Nan
2015-11-06 13:55   ` [PATCH v2 3/7 fix] " Wang Nan
2015-11-08  7:33     ` [tip:perf/urgent] perf tools: Make fetch_kernel_version() publicly available tip-bot for Wang Nan
2015-11-06 13:49 ` [PATCH v2 4/7] perf tools: Improve BPF related error messages output Wang Nan
2015-11-06 13:58   ` [PATCH v2 4/7 fix] " Wang Nan
2015-11-08  7:33     ` [tip:perf/urgent] perf bpf: Improve BPF related error messages tip-bot for Wang Nan
2015-11-06 13:49 ` [PATCH v2 5/7] perf test: Enforce LLVM test: update basic BPF test program Wang Nan
2015-11-08  7:34   ` [tip:perf/urgent] perf test: Enhance the " tip-bot for Wang Nan
2015-11-06 13:49 ` [PATCH v2 6/7] perf test: Enforce LLVM test: add kbuild test Wang Nan
2015-11-08  7:34   ` [tip:perf/urgent] perf test: Enhance the LLVM tests: " tip-bot for Wang Nan
2015-11-06 13:49 ` [PATCH v2 7/7] perf test: Add 'perf test BPF' Wang Nan
2015-11-08  7:34   ` [tip:perf/urgent] " tip-bot for Wang Nan
2015-11-06 19:20 ` Arnaldo Carvalho de Melo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151106192046.GG13236@kernel.org \
    --to=acme@kernel.org \
    --cc=ast@plumgrid.com \
    --cc=jolsa@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizefan@huawei.com \
    --cc=mingo@kernel.org \
    --cc=namhyung@kernel.org \
    --cc=pi3orama@163.com \
    --cc=wangnan0@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.