diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index 2a70582e0..ce733bb03 100644 --- a/man2/perf_event_open.2 +++ b/man2/perf_event_open.2 @@ -2927,18 +2927,18 @@ a previous .BR bpf (2) system call. .SS Using prctl(2) -A process can enable or disable all the event groups that are -attached to it using the +A process can enable or disable all currently open event groups +using the .BR prctl (2) .B PR_TASK_PERF_EVENTS_ENABLE and .B PR_TASK_PERF_EVENTS_DISABLE operations. -This applies to all counters on the calling process, whether created by -this process or by another, and does not affect any counters that this -process has created on other processes. -It enables or disables only -the group leaders, not any other members in the groups. +This applies only to events created locally by the calling process. +This does not apply to events created by other processes attached +to the calling process or inherited events from a parent process. +Only group leaders are enabled and disabled, +not any other members of the groups. .SS perf_event related configuration files .PP Files in