Messages in this thread | | | Date | Thu, 2 Apr 2009 20:10:26 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH 2/6] RFC perf_counter: singleshot support |
| |
* Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:
> OK, so I just remembered the sigio thing mentioned by Paul a while > back. > > and this should do I suppose...
> @@ -1561,6 +1578,7 @@ void perf_counter_wakeup(struct perf_cou > rcu_read_unlock(); > > wake_up_all(&counter->waitq); > + kill_fasync(&counter->fasync, SIGIO, POLL_IN);
ah, yes.
Do we even need the explicit signo method this way? The SIGIO target is configurable via fcntl(F_SETSIG), right?
Ingo
| |