diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2013-03-18 11:41:47 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-03-18 11:43:16 -0300 |
commit | bc96b361cbf90e61d2665b1305cd2c4ac1fd9cfc (patch) | |
tree | 3f9afd9dcd204629151f5707875f42e39ba5e59b /tools/perf/tests/tests.h | |
parent | d134ffb919ab142b2359ae45a0cf4a5bfa1ff283 (diff) | |
download | linux-stable-bc96b361cbf90e61d2665b1305cd2c4ac1fd9cfc.tar.gz linux-stable-bc96b361cbf90e61d2665b1305cd2c4ac1fd9cfc.tar.bz2 linux-stable-bc96b361cbf90e61d2665b1305cd2c4ac1fd9cfc.zip |
perf tests: Add a test case for checking sw clock event frequency
This test case checks frequency conversion of hrtimer-based software
clock events (cpu-clock, task-clock) have valid (non-1) periods.
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/1363574507-18808-2-git-send-email-namhyung@kernel.org
[ committer note: Moved .sample_freq to outside named init block to cope with some gcc versions ]
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 b33b3286ad6e..dd7feae2d37b 100644 --- a/tools/perf/tests/tests.h +++ b/tools/perf/tests/tests.h @@ -26,5 +26,6 @@ int test__python_use(void); int test__bp_signal(void); int test__bp_signal_overflow(void); int test__task_exit(void); +int test__sw_clock_freq(void); #endif /* TESTS_H */ |