diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2013-03-15 14:58:11 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-03-15 13:06:12 -0300 |
commit | d723a55096b81a13c319485f01994e0a539efcf9 (patch) | |
tree | ec1bebbe5643b2a47efc490223acf933de9a3d5e /tools/perf/tests/tests.h | |
parent | da522c17035a8415232d850b539ea60063fc7ecc (diff) | |
download | op-kernel-dev-d723a55096b81a13c319485f01994e0a539efcf9.zip op-kernel-dev-d723a55096b81a13c319485f01994e0a539efcf9.tar.gz |
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>
Diffstat (limited to 'tools/perf/tests/tests.h')
-rw-r--r-- | tools/perf/tests/tests.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/tests/tests.h b/tools/perf/tests/tests.h index 6cf1ec4..b33b328 100644 --- a/tools/perf/tests/tests.h +++ b/tools/perf/tests/tests.h @@ -25,5 +25,6 @@ int test__hists_link(void); int test__python_use(void); int test__bp_signal(void); int test__bp_signal_overflow(void); +int test__task_exit(void); #endif /* TESTS_H */ |