diff options
author | Jiri Olsa <[email protected]> | 2020-02-28 10:36:13 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-03-09 21:43:24 -0300 |
commit | 26226a97724d1671d553b8eb0cd95b0a5557cfb2 (patch) | |
tree | 57d666c7b5ac539d42b77945b8d16b6bf7a3ea27 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 576a65b6974ddc830a89b6feb6823bd6b5914bde (diff) |
perf expr: Move expr lexer to flex
Adding expr flex code instead of the manual parser code. So it's easily
extensible in upcoming changes.
The new flex code is in flex.l object and gets compiled like all the
other flexers we use. It's defined as flex reentrant parser.
It's used by both expr__parse and expr__find_other interfaces by
separating the starting point.
There's no intended change of functionality ;-) the test expr is
passing.
Signed-off-by: Jiri Olsa <[email protected]>
Reviewed-by: Andi Kleen <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: John Garry <[email protected]>
Cc: Kajol Jain <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ravi Bangoria <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions