diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-08-24 04:12:59 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-08-24 04:12:59 -0400 |
commit | c7f4f994dea2e6a513e63f063f6c92202b7c1f3f (patch) | |
tree | 1896f4b95d6940aad06e964caeb2106a26e0f29a /Documentation/sysctl | |
parent | 93da8b221da95a97316e518c94f03856e5d610a9 (diff) | |
parent | 60913e005c8d19ec5187a638eafdd088509dfb9e (diff) |
Merge tag 'perf-core-for-mingo-4.14-20170823' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:
- Expression parser enhancements for metrics (Andi Kleen)
- Fix buffer overflow while freeing events in 'perf stat' (Andi Kleen)
- Fix static linking with elfutils's libdf and with libunwind
in Debian/Ubuntu (Konstantin Khlebnikov)
- Tighten detection of BPF events, avoiding matching some other PMU
events such as 'cpu/uops_executed.core,cmask=1/' as a .c source
file that ended up being considered a BPF event (Andi Kleen)
- Add Skylake server uncore JSON vendor events (Andi Kleen)
- Add support for printing new mem_info encodings, including
'perf test' checks (Andi Kleen)
- Really install manpages via 'make install-man' (Konstantin Khlebnikov)
- Fix documentation for perf_event_paranoid and perf_event_mlock_kb
sysctls (Konstantin Khlebnikov)
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Documentation/sysctl')
-rw-r--r-- | Documentation/sysctl/kernel.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt index bac23c198360..ce61d1fe08ca 100644 --- a/Documentation/sysctl/kernel.txt +++ b/Documentation/sysctl/kernel.txt | |||
@@ -61,6 +61,7 @@ show up in /proc/sys/kernel: | |||
61 | - perf_cpu_time_max_percent | 61 | - perf_cpu_time_max_percent |
62 | - perf_event_paranoid | 62 | - perf_event_paranoid |
63 | - perf_event_max_stack | 63 | - perf_event_max_stack |
64 | - perf_event_mlock_kb | ||
64 | - perf_event_max_contexts_per_stack | 65 | - perf_event_max_contexts_per_stack |
65 | - pid_max | 66 | - pid_max |
66 | - powersave-nap [ PPC only ] | 67 | - powersave-nap [ PPC only ] |
@@ -654,7 +655,9 @@ Controls use of the performance events system by unprivileged | |||
654 | users (without CAP_SYS_ADMIN). The default value is 2. | 655 | users (without CAP_SYS_ADMIN). The default value is 2. |
655 | 656 | ||
656 | -1: Allow use of (almost) all events by all users | 657 | -1: Allow use of (almost) all events by all users |
657 | >=0: Disallow raw tracepoint access by users without CAP_IOC_LOCK | 658 | Ignore mlock limit after perf_event_mlock_kb without CAP_IPC_LOCK |
659 | >=0: Disallow ftrace function tracepoint by users without CAP_SYS_ADMIN | ||
660 | Disallow raw tracepoint access by users without CAP_SYS_ADMIN | ||
658 | >=1: Disallow CPU event access by users without CAP_SYS_ADMIN | 661 | >=1: Disallow CPU event access by users without CAP_SYS_ADMIN |
659 | >=2: Disallow kernel profiling by users without CAP_SYS_ADMIN | 662 | >=2: Disallow kernel profiling by users without CAP_SYS_ADMIN |
660 | 663 | ||
@@ -673,6 +676,14 @@ The default value is 127. | |||
673 | 676 | ||
674 | ============================================================== | 677 | ============================================================== |
675 | 678 | ||
679 | perf_event_mlock_kb: | ||
680 | |||
681 | Control size of per-cpu ring buffer not counted agains mlock limit. | ||
682 | |||
683 | The default value is 512 + 1 page | ||
684 | |||
685 | ============================================================== | ||
686 | |||
676 | perf_event_max_contexts_per_stack: | 687 | perf_event_max_contexts_per_stack: |
677 | 688 | ||
678 | Controls maximum number of stack frame context entries for | 689 | Controls maximum number of stack frame context entries for |