Skip to content

Commit ffc137c

Browse files
committed
docs: Downgrade arm64 & riscv from titles to comment
Remove the title string ("====") from under arm64 & riscv and move them to a commment under the perf_user_access sysctl. They are explanations, *not* sysctls themselves This effectively removes these two strings from appearing as not implemented when the check-sysctl-docs script is run Signed-off-by: Joel Granados <[email protected]>
1 parent 999aab7 commit ffc137c

File tree

1 file changed

+14
-18
lines changed

1 file changed

+14
-18
lines changed

Documentation/admin-guide/sysctl/kernel.rst

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,30 +1014,26 @@ perf_user_access (arm64 and riscv only)
10141014

10151015
Controls user space access for reading perf event counters.
10161016

1017-
arm64
1018-
=====
1019-
1020-
The default value is 0 (access disabled).
1017+
* for arm64
1018+
The default value is 0 (access disabled).
10211019

1022-
When set to 1, user space can read performance monitor counter registers
1023-
directly.
1020+
When set to 1, user space can read performance monitor counter registers
1021+
directly.
10241022

1025-
See Documentation/arch/arm64/perf.rst for more information.
1026-
1027-
riscv
1028-
=====
1023+
See Documentation/arch/arm64/perf.rst for more information.
10291024

1030-
When set to 0, user space access is disabled.
1025+
* for riscv
1026+
When set to 0, user space access is disabled.
10311027

1032-
The default value is 1, user space can read performance monitor counter
1033-
registers through perf, any direct access without perf intervention will trigger
1034-
an illegal instruction.
1028+
The default value is 1, user space can read performance monitor counter
1029+
registers through perf, any direct access without perf intervention will trigger
1030+
an illegal instruction.
10351031

1036-
When set to 2, which enables legacy mode (user space has direct access to cycle
1037-
and insret CSRs only). Note that this legacy value is deprecated and will be
1038-
removed once all user space applications are fixed.
1032+
When set to 2, which enables legacy mode (user space has direct access to cycle
1033+
and insret CSRs only). Note that this legacy value is deprecated and will be
1034+
removed once all user space applications are fixed.
10391035

1040-
Note that the time CSR is always directly accessible to all modes.
1036+
Note that the time CSR is always directly accessible to all modes.
10411037

10421038
pid_max
10431039
=======

0 commit comments

Comments
 (0)