diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index 1413ff442..06822f394 100644 --- a/man2/perf_event_open.2 +++ b/man2/perf_event_open.2 @@ -2943,6 +2943,16 @@ even though the ring-buffer remains empty. The argument is an unsigned 32-bit integer. A nonzero value pauses the ring-buffer, while a zero value resumes the ring-buffer. +.TP +.BR PERF_EVENT_MODIFY_ATTRIBUTES " (since Linux 4.17)" +.\" commit 32ff77e8cc9e66cc4fb38098f64fd54cc8f54573 +This allows modifying an existing event without the overhead +of closing and reopening a new event. +Currently this is only supported for breakpoint events. +.IP +The argument is a pointer to a +.I perf_event_attr +structure containing the updated event settings. .\" .SS Using prctl(2) A process can enable or disable all currently open event groups