Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1264036
| From | Wang Nan <wangnan0@huawei.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 0/7] perf tools: improve BPF related error delivering and testing |
| Date | 2015-11-06 15:00 +0100 |
| Message-ID | <qrPIC-5cI-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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. v1 -> v2: - Use enum for error code. - Eliminate for-loop, directly get error message from array using array index. - Classify error reason of program loading failure. - Improve message when version mismatching. [1] http://lkml.kernel.org/r/1446697622-4072-1-git-send-email-wangnan0@huawei.com Wang Nan (7): bpf tools: Improve libbpf error reporting bpf tools: Add new API bpf_object__get_kversion() perf tools: Make fetch_kernel_version() public available perf tools: Improve BPF related error messages output perf test: Enforce LLVM test: update basic BPF test program perf test: Enforce LLVM test: add kbuild test perf test: Add 'perf test BPF' tools/lib/bpf/libbpf.c | 167 +++++++++++++++++------- tools/lib/bpf/libbpf.h | 21 +++ tools/perf/tests/Build | 17 ++- tools/perf/tests/bpf-script-example.c | 4 + tools/perf/tests/bpf-script-test-kbuild.c | 21 +++ tools/perf/tests/bpf.c | 209 ++++++++++++++++++++++++++++++ tools/perf/tests/builtin-test.c | 4 + tools/perf/tests/llvm.c | 137 +++++++++++++++----- tools/perf/tests/llvm.h | 18 +++ tools/perf/tests/tests.h | 1 + tools/perf/util/bpf-loader.c | 143 +++++++++++++++++--- tools/perf/util/bpf-loader.h | 32 +++++ tools/perf/util/llvm-utils.c | 49 +++---- tools/perf/util/parse-events.c | 11 +- tools/perf/util/util.c | 31 +++++ tools/perf/util/util.h | 8 ++ 16 files changed, 735 insertions(+), 138 deletions(-) create mode 100644 tools/perf/tests/bpf-script-test-kbuild.c create mode 100644 tools/perf/tests/bpf.c create mode 100644 tools/perf/tests/llvm.h -- 1.8.3.4 -- 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 | Next — Next in thread | Find similar | Unroll 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