Jiri Olsa 534123f458 perf tools: Add basic event modifier sanity check
Updating event parser to allow any non zero string containing [ukhpGH]
characters for event modifier.

The modifier sanity is checked later in parse-event object logic.  The
check validates modifier to contain only one instance of any modifier
(apart from 'p') present.

v2:
  - added length check suggested Namhyung Kim

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20121113143258.GA2481@krava.brq.redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2012-11-14 16:52:24 -03:00
..
2012-10-14 12:22:52 -07:00
2012-10-02 18:36:24 -03:00
2011-02-16 13:30:48 +01:00
2012-09-17 13:12:02 -03:00
2012-02-13 23:17:40 -02:00
2012-10-02 18:36:23 -03:00
2012-10-02 18:36:23 -03:00
2012-10-29 11:56:59 -02:00
2012-10-29 11:56:59 -02:00
2012-08-03 10:42:25 -03:00
2012-10-02 18:36:24 -03:00
2012-08-03 10:37:21 -03:00
2012-05-17 12:32:54 -03:00