]> 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)
commit22e5031f0f5baecc129b15deb9fef891303b0014
tree1a8ad571b39ad97fdae1db6a33753ee94de21747
parentc73a97b97a0e771886cb8a1a1c76f478c31d1f9b
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