Re: [PATCH 1/3] perf, tools: Handle events including .c and .o

From: Arnaldo Carvalho de Melo
Date: Thu Oct 06 2016 - 16:16:34 EST


Em Thu, Oct 06, 2016 at 09:55:05AM -0700, Andi Kleen escreveu:
> On Wed, Oct 05, 2016 at 07:47:06PM -0300, Arnaldo Carvalho de Melo wrote:
> > Em Wed, Oct 05, 2016 at 12:47:10PM -0700, Andi Kleen escreveu:
> > > From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> > >
> > > This is a generic bug fix, but it helps with Sukadev's JSON event tree
> > > where such events can happen.
> > >
> > > Any event inclduing a .c/.o/.bpf currently triggers BPF compilation or loading
> > > and then an error. This can happen for some Intel JSON events, which cannot
> > > be used.
> > >
> > > Fix the scanner to only match for .o or .c or .bpf at the end.
> > > This will prevent loading multiple BPF scripts separated with comma,
> > > but I assume this is acceptable.
> >
> > Wang, may I have your Acked-by, please?
>
> He acked it earlier here
>
> https://patchwork.kernel.org/patch/9337721/
>
> Tested-by: Wang Nan <wangnan0@xxxxxxxxxx>

Ok, will add the example where it breaks in the commit message,

Thanks,

- Arnaldo