Re: [PATCH 01/11] perf tools script: Handle missing fields with -F +..

2019-02-25 Thread Arnaldo Carvalho de Melo
Em Mon, Feb 25, 2019 at 01:56:42PM +0100, Jiri Olsa escreveu: > On Sun, Feb 24, 2019 at 07:37:12AM -0800, Andi Kleen wrote: > > From: Andi Kleen > > > > When using -F + syntax to add a field the existing defaults > > are currently all marked user_set. This can cause errors when > > some field is

Re: [PATCH 01/11] perf tools script: Handle missing fields with -F +..

2019-02-25 Thread Jiri Olsa
On Sun, Feb 24, 2019 at 07:37:12AM -0800, Andi Kleen wrote: > From: Andi Kleen > > When using -F + syntax to add a field the existing defaults > are currently all marked user_set. This can cause errors when > some field is missing in the perf.data > > This patch tracks the actually user set

[PATCH 01/11] perf tools script: Handle missing fields with -F +..

2019-02-24 Thread Andi Kleen
From: Andi Kleen When using -F + syntax to add a field the existing defaults are currently all marked user_set. This can cause errors when some field is missing in the perf.data This patch tracks the actually user set fields separately, so that we don't error out in this case. Before: % perf