Re: [PATCH v1 09/15] perf, tools: Dedup events in expression parsing
From: Jiri Olsa
Date: Mon Aug 07 2017 - 05:51:59 EST
On Mon, Jul 24, 2017 at 04:40:09PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> Avoid adding redundant events while parsing an expression.
> When we add an "other" event check first if it already exists.
hi,
got this:
[jolsa@krava perf]$ ./perf test expr -v
6: Simple expression parser :
--- start ---
test child forked, pid 13589
syntax error
FAILED tests/expr.c:53 find other
test child finished with -1
---- end ----
Simple expression parser: FAILED!
jirka