From: Ingo Molnar Date: Thu, 11 Dec 2008 13:59:31 +0000 (+0100) Subject: perf counters: add prctl interface to disable/enable counters X-Git-Tag: v2.6.31-rc1~383^2~572 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d1c7ddbfab358445a542715551301b7fc363e28;p=pandora-kernel.git 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: Ingo Molnar --- Reading git-diff-tree failed