mirror of https://github.com/mkerrisk/man-pages
perf_event_open.2: Clarify issues with the disabled bit
Clarify the perf_event_open behavior with respect to the disabled bit and creating event groups. Reported-by: Sudhanshu Goswami <Sudhanshu.Goswami@emc.com> Signed-off-by: Vince Weaver <vincent.weaver@maine.edu> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
bea10c8c40
commit
406650db6b
|
@ -739,6 +739,17 @@ If disabled, the event can later be enabled by
|
|||
.BR prctl (2),
|
||||
or
|
||||
.IR enable_on_exec .
|
||||
|
||||
When creating an event group, typically the group leader is initialized
|
||||
with
|
||||
.I disabled
|
||||
set to 1 and any child events are initialized with
|
||||
.I disabled
|
||||
set to 0.
|
||||
Despite
|
||||
.I disabled
|
||||
being 0, the child events will not start until the group leader
|
||||
is enabled.
|
||||
.TP
|
||||
.IR "inherit"
|
||||
The
|
||||
|
|
Loading…
Reference in New Issue