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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

