Messages in this thread | | | From | Wang Nan <> | Subject | [PATCH 0/4] perf tools: Improve llvm compiling and test | Date | Wed, 4 Nov 2015 11:20:03 +0000 |
| |
This patchset is based on perf/core in Arnaldo's repository.
The first 2 patches addes some macro which helps writing BPF programs easier.
The last 2 patches enforce 'perf test LLVM', improves coding.
Wang Nan (4): perf tools: Pass available CPU number to clang compiler perf tools: Pass LINUX_VERSION_CODE to BPF program when compiling perf test: Enforce LLVM test: update basic BPF test program perf test: Enforce LLVM test: add kbuild test
tools/perf/tests/Build | 16 +++- tools/perf/tests/bpf-script-example.c | 4 + tools/perf/tests/bpf-script-test-kbuild.c | 21 +++++ tools/perf/tests/llvm.c | 135 +++++++++++++++++++++++------- tools/perf/tests/llvm.h | 18 ++++ tools/perf/util/llvm-utils.c | 51 +++++++++-- 6 files changed, 208 insertions(+), 37 deletions(-) create mode 100644 tools/perf/tests/bpf-script-test-kbuild.c create mode 100644 tools/perf/tests/llvm.h
-- 1.8.3.4
| |