Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965270AbbKDLUc (ORCPT ); Wed, 4 Nov 2015 06:20:32 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:59591 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932506AbbKDLUb (ORCPT ); Wed, 4 Nov 2015 06:20:31 -0500 From: Wang Nan To: , CC: , , , Wang Nan Subject: [PATCH 0/4] perf tools: Improve llvm compiling and test Date: Wed, 4 Nov 2015 11:20:03 +0000 Message-ID: <1446636007-239722-1-git-send-email-wangnan0@huawei.com> X-Mailer: git-send-email 1.8.3.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.107.193.248] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020203.5639E9F9.00D6,ss=1,re=0.000,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2011-05-27 18:58:46 X-Mirapoint-Loop-Id: 2a608422e74e3ee63bbce665d572e2e3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1228 Lines: 31 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/