perf tools: Add arbitary aliases and support names with -
commiteef9ba98b9ee96f52e544b09f581c397d8cc8265
authorAndi Kleen <ak@linux.intel.com>
Mon, 5 Nov 2012 13:50:52 +0000 (5 14:50 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 8 Nov 2012 19:12:03 +0000 (8 16:12 -0300)
tree690231cc4f15dc2824b6d97439e84dbba60d5dad
parent1fa0bc3f8d4f9bbcde5b1f962b006906cc80b2dc
perf tools: Add arbitary aliases and support names with -

- Add missing scanner symbol for arbitrary aliases inside the config
  region.

- looks nicer than _, so allow - in the event names. Used for various of
  the arch perfmon and Haswell events.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1352123463-7346-6-git-send-email-eranian@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/parse-events.l