perf test: Add test case for checking number of EXIT events
authorNamhyung Kim <namhyung.kim@lge.com>
Fri, 15 Mar 2013 05:58:11 +0000 (14:58 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 15 Mar 2013 16:06:12 +0000 (13:06 -0300)
commitd723a55096b81a13c319485f01994e0a539efcf9
treeec1bebbe5643b2a47efc490223acf933de9a3d5e
parentda522c17035a8415232d850b539ea60063fc7ecc
perf test: Add test case for checking number of EXIT events

The new test__task_exit() test runs a simple "/usr/bin/true" workload and then
checks whether the number of EXIT event is 1 or not.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/87obeljax4.fsf@sejong.aot.lge.com
[ committer note: Fixup conflicts with f4c66b4 ( bp overflow tests ) ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile
tools/perf/tests/builtin-test.c
tools/perf/tests/task-exit.c [new file with mode: 0644]
tools/perf/tests/tests.h