]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Add automated tests for events parsing
authorJiri Olsa <jolsa@redhat.com>
Thu, 14 Jul 2011 09:25:33 +0000 (11:25 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Jul 2011 08:41:13 +0000 (10:41 +0200)
commit358a3970b2082b40d15a6c7a461f004e3f092cbd
tree1a8ad571b39ad97fdae1db6a33753ee94de21747
parent96e3876a40fc7af949320cfd63a86bebd63e6b29
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