commit | f1326973262382150c26bf4dfccd0fce310c4a9c | [log] [tgz] |
---|---|---|
author | Erik Bosman <ebn310@few.vu.nl> | Fri Apr 11 18:57:22 2008 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Sat Apr 19 19:19:55 2008 +0200 |
tree | 746cda0780feebf8e97d34f1b8e64f77bb15c3e7 | |
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>