Skip to content
Snippets Groups Projects
Commit 8fb402bc authored by Erik Bosman's avatar Erik Bosman Committed by Ingo Molnar
Browse files

generic, x86: add prctl commands PR_GET_TSC and PR_SET_TSC


This patch adds prctl commands that make it possible
to deny the execution of timestamp counters in userspace.
If this is not implemented on a specific architecture,
prctl will return -EINVAL.

ned-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 5deb45e3
No related branches found
No related tags found
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