lkml.org 
[lkml]   [2017]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2 1/2] kernel/events: Add option to notify through signals on wakeup
On Tue, 1 Aug 2017, Naveen N. Rao wrote:

> Add a new option 'signal_on_wakeup' to request for a signal to be
> delivered on ring buffer wakeup controlled through watermark and
> {wakeup_events, wakeup_watermark}. HUP is signaled on exit.
>
> Setting signal_on_wakeup disables use of IOC_REFRESH to control signal
> delivery, instead relying on IOC_ENABLE/DISABLE.

so I probably missed the original thread on this new interface, but why is
IOC_REFRESH not being used?

For new interfaces like this it's also nice to have some text that can be
added to the perf_event_open() manpage, especially if there's weird
conditions like this.

Vince

\
 
 \ /
  Last update: 2017-08-03 19:58    [W:0.074 / U:45.984 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site