Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1264260

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

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 0/7] perf tools: improve BPF related error delivering and testing
Date 2015-11-06 20:30 +0100
Message-ID <qrURZ-d0-39@gated-at.bofh.it> (permalink)
References <qrPIC-5cI-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/7] perf tools: improve BPF related error delivering and testing Wang Nan <wangnan0@huawei.com> - 2015-11-06 15:00 +0100
  [PATCH v2 5/7] perf test: Enforce LLVM test: update basic BPF test program Wang Nan <wangnan0@huawei.com> - 2015-11-06 15:00 +0100
    [tip:perf/urgent] perf test: Enhance the LLVM test:   update basic BPF test program tip-bot for Wang Nan <tipbot@zytor.com> - 2015-11-08 08:40 +0100
  [PATCH v2 4/7] perf tools: Improve BPF related error messages output Wang Nan <wangnan0@huawei.com> - 2015-11-06 15:00 +0100
    [PATCH v2 4/7 fix] perf tools: Improve BPF related error messages output Wang Nan <wangnan0@huawei.com> - 2015-11-06 15:00 +0100
      [tip:perf/urgent] perf bpf: Improve BPF related error messages tip-bot for Wang Nan <tipbot@zytor.com> - 2015-11-08 08:40 +0100
  [PATCH v2 6/7] perf test: Enforce LLVM test: add kbuild test Wang Nan <wangnan0@huawei.com> - 2015-11-06 15:00 +0100
    [tip:perf/urgent] perf test: Enhance the LLVM tests:   add kbuild test tip-bot for Wang Nan <tipbot@zytor.com> - 2015-11-08 08:40 +0100
  [PATCH v2 3/7] perf tools: Make fetch_kernel_version() public available Wang Nan <wangnan0@huawei.com> - 2015-11-06 15:00 +0100
  Re: [PATCH v2 0/7] perf tools: improve BPF related error delivering  and testing Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-11-06 20:30 +0100

csiph-web