diff options
author | Will Deacon <will@kernel.org> | 2021-12-14 13:42:22 +0000 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-12-14 13:42:22 +0000 |
commit | 8bd09b41b82f60a9a4439c2a641ffb542a10c237 (patch) | |
tree | 786537ba75be02aff449e7c0d3e4d6324bbdfdfe /Documentation/admin-guide | |
parent | 1879a61f4ad80c7b8cb27d52154ac253e74ebe82 (diff) | |
parent | aa1005d15d2aee10e5b93a25db076c47e05c4efa (diff) |
Merge branch 'for-next/perf-user-counter-access' into for-next/perf
* for-next/perf-user-counter-access:
Documentation: arm64: Document PMU counters access from userspace
arm64: perf: Enable PMU counter userspace access for perf event
arm64: perf: Add userspace counter access disable switch
perf: Add a counter for number of user access events in context
x86: perf: Move RDPMC event flag to a common definition
Diffstat (limited to 'Documentation/admin-guide')
-rw-r--r-- | Documentation/admin-guide/sysctl/kernel.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst index 0e486f41185e..d359bcfadd39 100644 --- a/Documentation/admin-guide/sysctl/kernel.rst +++ b/Documentation/admin-guide/sysctl/kernel.rst @@ -905,6 +905,17 @@ enabled, otherwise writing to this file will return ``-EBUSY``. The default value is 8. +perf_user_access (arm64 only) +================================= + +Controls user space access for reading perf event counters. When set to 1, +user space can read performance monitor counter registers directly. + +The default value is 0 (access disabled). + +See Documentation/arm64/perf.rst for more information. + + pid_max ======= |