diff options
author | Erik Bosman <ebn310@few.vu.nl> | 2008-04-11 18:57:22 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-19 19:19:55 +0200 |
commit | f1326973262382150c26bf4dfccd0fce310c4a9c (patch) | |
tree | 746cda0780feebf8e97d34f1b8e64f77bb15c3e7 /arch/x86/kernel/tsc_64.c | |
parent | 529e25f646e08901a6dad5768f681efffd77225e (diff) |
generic, x86: add tests for prctl PR_GET_TSC and PR_SET_TSC
This patch adds three tests that test whether the PR_GET_TSC and
PR_SET_TSC commands have the desirable effect.
The tests check whether the control register is updated correctly
at context switches and try to discover bugs while enabling/disabling
the timestamp counter.
Signed-off-by: Erik Bosman <ejbosman@cs.vu.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/tsc_64.c')
0 files changed, 0 insertions, 0 deletions