perf tools: Add 'G' and 'H' modifiers to event parsing
authorGleb Natapov <gleb@redhat.com>
Tue, 17 Apr 2012 11:13:45 +0000 (14:13 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 17 Apr 2012 14:20:23 +0000 (11:20 -0300)
commite7c72d888dac2c81003401d663bd8abd68e7c5cd
tree867f8b13c22c1da09c434a438de3def636c84849
parent6ffd7bdbf8516d691974d21098278af65d4817a5
perf tools: Add 'G' and 'H' modifiers to event parsing

They were dropped during conversion of event parser. Add test case to
make sure this will not happen again.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Avi Kivity <avi@redhat.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20120417111345.GK11918@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-test.c
tools/perf/util/parse-events.l