Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752316AbbETAnM (ORCPT ); Tue, 19 May 2015 20:43:12 -0400 Received: from mail.kernel.org ([198.145.29.136]:50642 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751268AbbETAnI (ORCPT ); Tue, 19 May 2015 20:43:08 -0400 Date: Tue, 19 May 2015 21:43:04 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Alexei Starovoitov , Wang Nan , paulus@samba.org, a.p.zijlstra@chello.nl, mingo@redhat.com, jolsa@kernel.org, dsahern@gmail.com, daniel@iogearbox.net, brendan.d.gregg@gmail.com, masami.hiramatsu.pt@hitachi.com, lizefan@huawei.com, linux-kernel@vger.kernel.org, pi3orama@163.com Subject: Re: [RFC PATCH v3 00/37] perf tools: introduce 'perf bpf' command to load eBPF programs. Message-ID: <20150520004304.GF26111@kernel.org> References: <20150518204416.GJ18563@kernel.org> <555A541F.6090606@plumgrid.com> <20150518212013.GB13946@kernel.org> <555A5D96.2070509@plumgrid.com> <20150519134458.GC13946@kernel.org> <20150519160448.GD29162@danjae.kornet> <20150519164040.GB19921@kernel.org> <555BA112.6090505@plumgrid.com> <20150519211033.GF19921@kernel.org> <20150520003052.GE22713@sejong> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150520003052.GE22713@sejong> 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 Content-Length: 1189 Lines: 29 Em Wed, May 20, 2015 at 09:30:52AM +0900, Namhyung Kim escreveu: > On Tue, May 19, 2015 at 06:10:33PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Tue, May 19, 2015 at 01:46:10PM -0700, Alexei Starovoitov escreveu: > > > if you're proposing to do something like: > > > perf script bpf_file.c > > > that will do event creation, filtering, aggregation, reporting > > > and printing results, then it's fine. > > > This is pretty much what I thought 'perf bpf run' will do. > > Agreed, that is what I think should be done, parts of what is in > > bpf.file.c are related to the data collection, some are for filtering, > > and parts are for reporting, etc. > Looks great! :) > > This all should use infrastructure in perf for symbol resolving, > > callcahins, etc. > But then we need to stabilize libperf APIs IMHO. :) Well, all this will remain in tools/, more so in tools/perf/ where we can continue to do what you propose :-) - Arnaldo -- 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/