]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Add empty rule for new line in event syntax parsing
authorJiri Olsa <jolsa@redhat.com>
Tue, 3 Jul 2012 22:00:39 +0000 (00:00 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 5 Jul 2012 14:22:29 +0000 (11:22 -0300)
commit0f0aad8103da8007172a268e2472dcc5815a2448
tree901bbc2804d4f56fc60b38d442a130306ec334a4
parent0e566579bb434dfe5c0af3197b34bd602705ce1f
perf tools: Add empty rule for new line in event syntax parsing

The flex generator prints out each input character that is ignored by
lex rules.

Since the alias processing, we can have '\n' characters on input. We
need to assign empty rule to it, so it's not printed out.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1341352848-11833-2-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/parse-events.l