From: compudj Date: Thu, 6 Nov 2008 16:55:43 +0000 (+0000) Subject: update test X-Git-Tag: v0.12.20~342 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=249d5ccdfa40f17eaddce2ce99c69f2767a3b2d8;p=lttv.git update test git-svn-id: http://ltt.polymtl.ca/svn@3147 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/trunk/tests/kernel/Makefile b/trunk/tests/kernel/Makefile index 9555094a..6c6dc9a5 100644 --- a/trunk/tests/kernel/Makefile +++ b/trunk/tests/kernel/Makefile @@ -14,11 +14,12 @@ ifneq ($(CONFIG_LTT),) endif #obj-m += test-sys_call.o # obj-m += test-bug.o + obj-m += test-tsc-sync2.o obj-m += test-nop-speed.o - obj-m += test-hpet.o + #obj-m += test-hpet.o # obj-m += test-prefix-speed-32.o - obj-m += test-prefix-speed.o - obj-m += test-psrwlock.o + #obj-m += test-prefix-speed.o + #obj-m += test-psrwlock.o # obj-m += test-cmpxchg-nolock2.o # obj-m += test-trace-speed.o # obj-m += test-rcu-speed.o diff --git a/trunk/tests/kernel/test-tsc-sync2.c b/trunk/tests/kernel/test-tsc-sync2.c new file mode 100644 index 00000000..172b07c0 --- /dev/null +++ b/trunk/tests/kernel/test-tsc-sync2.c @@ -0,0 +1,27 @@ +/* test-async-tsc.c + * + * test async tsc on AMD. + */ + + +#include +#include +#include + +static int __init test_init(void) +{ + test_tsc_synchronization(); + return -EPERM; +} + +static void __exit test_exit(void) +{ +} + +module_init(test_init); +module_exit(test_exit); + +MODULE_LICENSE("GPL"); +MODULE_AUTHOR("Mathieu Desnoyers"); +MODULE_DESCRIPTION("sync async tsc"); +