perf test: Move parse event automated tests to separated object
authorJiri Olsa <jolsa@redhat.com>
Mon, 21 May 2012 07:12:49 +0000 (09:12 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 22 May 2012 14:19:16 +0000 (11:19 -0300)
commitf50246e2e2e33aacc68ac3ec41cf2d6a08860bc4
tree68421df5c4808a0163d59a47c91e8fe4fe09f894
parent73787190d04a34e6da745da893b3ae8bedde418f
perf test: Move parse event automated tests to separated object

Moving event parsing specific tests into separated file:

  util/parse-events-test.c

Also changing the code a bit to ease running separate tests.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1337584373-2741-2-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile
tools/perf/builtin-test.c
tools/perf/util/parse-events-test.c [new file with mode: 0644]
tools/perf/util/parse-events.h