From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753103AbbGULmS (ORCPT ); Tue, 21 Jul 2015 07:42:18 -0400 Received: from casper.infradead.org ([85.118.1.10]:41019 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751131AbbGULmR (ORCPT ); Tue, 21 Jul 2015 07:42:17 -0400 Date: Tue, 21 Jul 2015 08:41:51 -0300 From: Arnaldo Carvalho de Melo To: "Wangnan (F)" Cc: He Kuang , Li Zefan , ast@plumgrid.com, pi3orama@163.com, xiakaixu@huawei.com, linux-kernel@vger.kernel.org Subject: Re: perf test LLVM was: Re: [GIT PULL 00/39] perf tools: filtering events using eBPF programs Message-ID: <20150721114151.GF5368@kernel.org> 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> <55AE2858.6040409@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55AE2858.6040409@huawei.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Jul 21, 2015 at 07:09:12PM +0800, Wangnan (F) escreveu: > Hi Arnaldo, > > Have you recovered from your cold? Much better now, thanks. > 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. Ok, saw that 12/39 repost, will pick it > 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. > >> > >> > > >