Re: [PATCH v2 4/9] perf tools: move ALLOC_LIST into a function

2019-10-23 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 23, 2019 at 10:55:59AM +0200, Jiri Olsa escreveu: > On Tue, Oct 22, 2019 at 05:53:32PM -0700, Ian Rogers wrote: > > Having a YYABORT in a macro makes it hard to free memory for components > > of a rule. Separate the logic out. > > Acked-by: Jiri Olsa Thanks, applied. - Arnaldo

Re: [PATCH v2 4/9] perf tools: move ALLOC_LIST into a function

2019-10-23 Thread Jiri Olsa
On Tue, Oct 22, 2019 at 05:53:32PM -0700, Ian Rogers wrote: > Having a YYABORT in a macro makes it hard to free memory for components > of a rule. Separate the logic out. Acked-by: Jiri Olsa thanks, jirka > > Signed-off-by: Ian Rogers > --- > tools/perf/util/parse-events.y | 65

[PATCH v2 4/9] perf tools: move ALLOC_LIST into a function

2019-10-22 Thread Ian Rogers
Having a YYABORT in a macro makes it hard to free memory for components of a rule. Separate the logic out. Signed-off-by: Ian Rogers --- tools/perf/util/parse-events.y | 65 ++ 1 file changed, 43 insertions(+), 22 deletions(-) diff --git