Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752552AbbGULJn (ORCPT ); Tue, 21 Jul 2015 07:09:43 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:45648 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751236AbbGULJl (ORCPT ); Tue, 21 Jul 2015 07:09:41 -0400 Message-ID: <55AE2858.6040409@huawei.com> Date: Tue, 21 Jul 2015 19:09:12 +0800 From: "Wangnan (F)" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Arnaldo Carvalho de Melo CC: He Kuang , Li Zefan , , , , , Arnaldo Carvalho de Melo Subject: Re: perf test LLVM was: Re: [GIT PULL 00/39] perf tools: filtering events using eBPF programs References: <1436445342-1402-1-git-send-email-wangnan0@huawei.com> <20150714153657.GL2885@kernel.org> <55A63AC4.6040701@huawei.com> <20150715112015.GA3868@kernel.org> <55A869A1.505@huawei.com> In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.111.66.109] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020201.55AE2869.009E,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: d4c48e4eb0bc08dd2a79cc99743ba2ae Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2999 Lines: 104 Hi Arnaldo, Have you recovered from your cold? Could you please repick patch "perf tools: Introduce llvm config options" from my github: https://github.com/WangNan0/linux/commit/f9fb25c518c7e52a47e98c36ce49f51051bbccf4 I made a small change that introduce '-D__KERNEL__' in front of $CLANG_OPTIONS, so samples in 'samples/ebpf' should be compilable with perf now. I'll repost a patch by replying the original one also. The following changes since commit 101ef9b4f5c70dbfffa0186102c1014bd81a4ec7: bpf tools: Link all bpf objects onto a list (2015-07-13 18:48:17 -0300) are available in the git repository at: https://github.com/WangNan0/linux.git ebpf for you to fetch changes up to 51f169df1d11ea842a808d751f9c620371c55e74: bpf: Introduce function for outputing data to perf event (2015-07-21 10:55:48 +0000) ---------------------------------------------------------------- Thank you. On 2015/7/17 11:48, Arnaldo Carvalho de Melo wrote: > > On Jul 16, 2015 11:34 PM, "Wangnan (F)" > wrote: > > On 2015/7/15 19:20, Arnaldo Carvalho de Melo wrote: > >> > >> Em Wed, Jul 15, 2015 at 06:49:40PM +0800, Wangnan (F) escreveu: > >>> > >>> On 2015/7/14 23:36, Arnaldo Carvalho de Melo wrote: > >>>> > >>>> I have the trees cloned and plan to follow these instructions to > have this test > >>>> passing, to then move on to the next patches, but one request, > please change > >>>> the above to produce: > >>>> 38: Test LLVM searching and compiling :(no clang) > Ok run 'perf test -v LLVM' for instructions on having a clang > environment > >>> > >>> The output format you desire is hard to implement, because 'Ok' is > printed > >>> by the parent process. We have to find a way to allow child > process to pass > >>> 'run 'perf test -v LLVM' for ...' to parent, then parent can print it > >>> after 'Ok'. > >> > >> > >>> > >>> I change this test as follow: > >> > >> From a quick look: excellent, thanks for improving this, I downloaded > >> llvm and clang, built it, and the test passes, will apply this new > patch > >> and continue from there, > >> > >> - Arnaldo > > > > > > Hi Arnaldo, > > > > What's the reviewing going on? > > Was sidetracked with some other stuff and was a bit slow due to a > cold, hope to get back to work on ebpf+perf in 8 hours ir so. > > Thanks, > > Arnaldo > > > I collected some more patches on my git tree to avoid losting, and > will collect more on it. > > I'll keep this patchset at the bottom so I think you shoud not be > affected. > > > > Here is the new branch: > > > > https://github.com/WangNan0/linux.git ebpf > > > > Do you want me to keep the original perf/ebpf-for-acme branch? > > > > Thank you. > > > > > -- 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/