lkml.org 
[lkml]   [2015]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] perf tools: Improve llvm compiling and test
Date
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



\
 
 \ /
  Last update: 2015-11-04 12:41    [W:1.781 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site