mirror of https://github.com/mkerrisk/man-pages
perf_event_open.2: Explain the EACCES "monitoring all processes" case more precisely
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
bec6277efa
commit
2b23ecbdea
|
@ -24,7 +24,7 @@
|
|||
.\" This document is based on the perf_event.h header file, the
|
||||
.\" tools/perf/design.txt file, and a lot of bitter experience.
|
||||
.\"
|
||||
.TH PERF_EVENT_OPEN 2 2014-04-10 "Linux" "Linux Programmer's Manual"
|
||||
.TH PERF_EVENT_OPEN 2 2014-04-17 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
perf_event_open \- set up performance monitoring
|
||||
.SH SYNOPSIS
|
||||
|
@ -2404,8 +2404,9 @@ permissions (or a more permissive perf_event paranoid setting).
|
|||
Some common cases where an unprivileged process
|
||||
may encounter this error:
|
||||
attaching to a process owned by a different user;
|
||||
monitoring all processes (including those not belonging to the user)
|
||||
on a given CPU;
|
||||
monitoring all processes on a given CPU (i.e., specifying the
|
||||
.I pid
|
||||
argument as \-1);
|
||||
and not setting
|
||||
.I exclude_kernel
|
||||
when the paranoid setting requires it.
|
||||
|
|
Loading…
Reference in New Issue