]> Git Repo - linux.git/commit
perf tools: Add flex support for parse_events_error
authorJiri Olsa <[email protected]>
Wed, 22 Apr 2015 19:10:17 +0000 (21:10 +0200)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 29 Apr 2015 13:37:59 +0000 (10:37 -0300)
commit6297d42372b6ff02135ce170b0d90ccf0b1531e4
tree9cd8049cffd0dd8731f8774a214ecd1b637cd2b4
parentb39b839309ce8c5dd15cd95d26af153fa392c3e6
perf tools: Add flex support for parse_events_error

Allowing flex parser to report back event parsing error, like:

  $ perf record -e cycles,cache-mises ls
  event syntax error: '..es,cache-mises'
                                 \___ parser error
  ...

Signed-off-by: Jiri Olsa <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/parse-events.h
tools/perf/util/parse-events.l
tools/perf/util/parse-events.y
This page took 0.0680730000000001 seconds and 4 git commands to generate.