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


Groups > linux.kernel > #1262221

[PATCH 0/4] perf tools: Improve llvm compiling and test

From Wang Nan <wangnan0@huawei.com>
Newsgroups linux.kernel
Subject [PATCH 0/4] perf tools: Improve llvm compiling and test
Date 2015-11-04 12:30 +0100
Message-ID <qr4ql-8db-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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 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 | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] perf tools: Improve llvm compiling and test Wang Nan <wangnan0@huawei.com> - 2015-11-04 12:30 +0100
  [PATCH 4/4] perf test: Enforce LLVM test: add kbuild test Wang Nan <wangnan0@huawei.com> - 2015-11-04 12:30 +0100
  [PATCH 2/4] perf tools: Pass LINUX_VERSION_CODE to BPF program when compiling Wang Nan <wangnan0@huawei.com> - 2015-11-04 12:30 +0100
    Re: [PATCH 2/4] perf tools: Pass LINUX_VERSION_CODE to BPF program  when compiling Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-11-04 23:30 +0100
    [tip:perf/urgent] perf llvm:   Pass LINUX_VERSION_CODE to BPF program when compiling tip-bot for Wang Nan <tipbot@zytor.com> - 2015-11-08 08:40 +0100

csiph-web