summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2021-12-14 16:42:22 +0300
committerWill Deacon <will@kernel.org>2021-12-14 16:42:22 +0300
commit8bd09b41b82f60a9a4439c2a641ffb542a10c237 (patch)
tree786537ba75be02aff449e7c0d3e4d6324bbdfdfe /Documentation/admin-guide
parent1879a61f4ad80c7b8cb27d52154ac253e74ebe82 (diff)
parentaa1005d15d2aee10e5b93a25db076c47e05c4efa (diff)
downloadlinux-8bd09b41b82f60a9a4439c2a641ffb542a10c237.tar.xz
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.rst11
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
=======