]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Move start conditions to start of the flex file
authorJiri Olsa <jolsa@redhat.com>
Fri, 27 Sep 2013 16:29:58 +0000 (18:29 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 11 Oct 2013 15:17:31 +0000 (12:17 -0300)
commit46a87d4c093cdde7c88cd95b753e8efddfaf1fb6
tree175940422651240d2aaae8a761507191f48b32b5
parente5d89ca372f013a73fb2614a828a2b57608fc995
perf tools: Move start conditions to start of the flex file

Moving start conditions to start of the flex file so it's clear what the
INITIAL condition rules are.

Plus adding default rule for INITIAL condition. This prevents default
space to be printed for events like:

$ ./perf stat -e "cycles        " kill 2>/dev/null
        $
^^^^^^^^

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>
Link: http://lkml.kernel.org/r/1380299398-10839-1-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/parse-events.l