perf tools: Add automated tests for events parsing
commit13b62567e909125145f90e91625b1062196d1258
authorJiri Olsa <jolsa@redhat.com>
Thu, 14 Jul 2011 09:25:33 +0000 (14 11:25 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Jul 2011 08:41:13 +0000 (21 10:41 +0200)
tree1a8ad571b39ad97fdae1db6a33753ee94de21747
parentf120f9d51be3a7db8991e7b78dc08bab5f8ab8f3
perf tools: Add automated tests for events parsing

Adding builtin test for parse_events function, which is
responsible for parsing/processing "-e" option for
stat/top/record commands.

This new test will run within the builtin test command suite
(perf test).

One or several tests were added for each type of event.
More tests could be added easily if needed.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: acme@redhat.com
Cc: a.p.zijlstra@chello.nl
Cc: paulus@samba.org
Link: http://lkml.kernel.org/r/1310635534-4013-3-git-send-email-jolsa@redhat.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-test.c