Skip to content
Commit 1d1c7ddb authored by Ingo Molnar's avatar Ingo Molnar
Browse files

perf counters: add prctl interface to disable/enable counters



Add a way for self-monitoring tasks to disable/enable counters summarily,
via a prctl:

	PR_TASK_PERF_COUNTERS_DISABLE		31
	PR_TASK_PERF_COUNTERS_ENABLE		32

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent bae43c99
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment