|
@@ -61,6 +61,7 @@ show up in /proc/sys/kernel:
|
|
- perf_cpu_time_max_percent
|
|
- perf_cpu_time_max_percent
|
|
- perf_event_paranoid
|
|
- perf_event_paranoid
|
|
- perf_event_max_stack
|
|
- perf_event_max_stack
|
|
|
|
+- perf_event_mlock_kb
|
|
- perf_event_max_contexts_per_stack
|
|
- perf_event_max_contexts_per_stack
|
|
- pid_max
|
|
- pid_max
|
|
- powersave-nap [ PPC only ]
|
|
- powersave-nap [ PPC only ]
|
|
@@ -654,7 +655,9 @@ Controls use of the performance events system by unprivileged
|
|
users (without CAP_SYS_ADMIN). The default value is 2.
|
|
users (without CAP_SYS_ADMIN). The default value is 2.
|
|
|
|
|
|
-1: Allow use of (almost) all events by all users
|
|
-1: Allow use of (almost) all events by all users
|
|
->=0: Disallow raw tracepoint access by users without CAP_IOC_LOCK
|
|
|
|
|
|
+ Ignore mlock limit after perf_event_mlock_kb without CAP_IPC_LOCK
|
|
|
|
+>=0: Disallow ftrace function tracepoint by users without CAP_SYS_ADMIN
|
|
|
|
+ Disallow raw tracepoint access by users without CAP_SYS_ADMIN
|
|
>=1: Disallow CPU event access by users without CAP_SYS_ADMIN
|
|
>=1: Disallow CPU event access by users without CAP_SYS_ADMIN
|
|
>=2: Disallow kernel profiling by users without CAP_SYS_ADMIN
|
|
>=2: Disallow kernel profiling by users without CAP_SYS_ADMIN
|
|
|
|
|
|
@@ -673,6 +676,14 @@ The default value is 127.
|
|
|
|
|
|
==============================================================
|
|
==============================================================
|
|
|
|
|
|
|
|
+perf_event_mlock_kb:
|
|
|
|
+
|
|
|
|
+Control size of per-cpu ring buffer not counted agains mlock limit.
|
|
|
|
+
|
|
|
|
+The default value is 512 + 1 page
|
|
|
|
+
|
|
|
|
+==============================================================
|
|
|
|
+
|
|
perf_event_max_contexts_per_stack:
|
|
perf_event_max_contexts_per_stack:
|
|
|
|
|
|
Controls maximum number of stack frame context entries for
|
|
Controls maximum number of stack frame context entries for
|