lkml.org 
[lkml]   [2015]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH v3 00/37] perf tools: introduce 'perf bpf' command to load eBPF programs.
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


\
 
 \ /
  Last update: 2015-05-20 03:01    [W:0.165 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site