lkml.org 
[lkml]   [2017]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1 09/15] perf, tools: Dedup events in expression parsing
On Mon, Jul 24, 2017 at 04:40:09PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@linux.intel.com>
>
> 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

\
 
 \ /
  Last update: 2017-08-07 11:52    [W:0.244 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site