perf: Fix documentation for sysctls perf_event_paranoid and perf_event_mlock_kb
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Sun, 20 Aug 2017 11:39:20 +0000 (14:39 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 22 Aug 2017 16:24:54 +0000 (13:24 -0300)
commitac0bb6b72f4bbab08f270a919406d971e73698b5
tree4d287b876d31e0e4cb27401bc222aee61e177fb7
parent2826478a6660158d261bc49ad8954a8f5c39be07
perf: Fix documentation for sysctls perf_event_paranoid and perf_event_mlock_kb

Fix misprint CAP_IOC_LOCK -> CAP_IPC_LOCK. This capability have nothing
to do with raw tracepoints. This part is about bypassing mlock limits.

Sysctl kernel.perf_event_paranoid = -1 allows raw and ftrace function
tracepoints without CAP_SYS_ADMIN.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/150322916080.129746.11285255474738558340.stgit@buzz
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Documentation/sysctl/kernel.txt
tools/perf/util/evsel.c