[PATCH] perf, tools: Handle events including .c and .o

2016-10-07 Thread Wang Nan
This patch helps with Sukadev's JSON event tree where such events can happen. >From Andi Kleen: 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. This patch fixes this problem by f

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

2016-09-18 Thread Wangnan (F)
On 2016/9/18 22:56, Andi Kleen wrote: On Sun, Sep 18, 2016 at 06:20:04PM +0800, Wangnan (F) wrote: On 2016/9/18 9:02, Andi Kleen wrote: From: Andi Kleen 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 cu

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

2016-09-18 Thread Andi Kleen
On Sun, Sep 18, 2016 at 06:20:04PM +0800, Wangnan (F) wrote: > > > On 2016/9/18 9:02, Andi Kleen wrote: > > From: Andi Kleen > > > > 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 trigg

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

2016-09-18 Thread Andi Kleen
On Sun, Sep 18, 2016 at 11:03:27AM +0200, Jiri Olsa wrote: > On Sat, Sep 17, 2016 at 06:02:46PM -0700, Andi Kleen wrote: > > From: Andi Kleen > > > > 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

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

2016-09-18 Thread Wangnan (F)
On 2016/9/18 9:02, Andi Kleen wrote: From: Andi Kleen 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 ev

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

2016-09-18 Thread Jiri Olsa
On Sat, Sep 17, 2016 at 06:02:46PM -0700, Andi Kleen wrote: > From: Andi Kleen > > 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

[PATCH] perf, tools: Handle events including .c and .o

2016-09-17 Thread Andi Kleen
From: Andi Kleen 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 scan