Ingo Molnar b908debd4e perf tools: Accept case-insensitive symbolic event variants
We currently fail on something like '-e CPU-migrations', with:

  invalid or unsupported event: 'CPU-migrations'

While 'CPU-migrations' is how we actually print out the event
in the default perf stat output:

 Performance counter stats for 'true':

          0.202204 task-clock-msecs         #      0.282 CPUs
                 0 context-switches         #      0.000 M/sec
                 0 CPU-migrations           #      0.000 M/sec

So change the matching to be case-insensitive.

Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/n/tip-omcm3edjjtx83a4kh2e244se@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-04-26 20:04:55 +02:00
..
2011-01-22 19:56:28 -02:00
2011-02-22 12:02:07 -03:00
2011-02-16 13:30:48 +01:00
2011-04-15 12:52:28 -03:00
2011-04-15 12:52:28 -03:00
2011-04-15 12:52:28 -03:00
2011-03-10 11:16:28 -03:00
2010-10-21 16:11:44 -02:00
2010-08-21 11:22:47 -03:00
2010-05-14 20:05:21 -03:00
2011-03-31 11:26:23 -03:00