Skip to content
Commit f1326973 authored by Erik Bosman's avatar Erik Bosman Committed by Ingo Molnar
Browse files

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: default avatarErik Bosman <ejbosman@cs.vu.nl>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 529e25f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment