On Wed, Mar 08, 2006 at 11:32:05AM -0800, WILLIAM CHEN wrote: > In response to the question of what happens if the buffer never > overflows. One will not get an interrupt if the buffer does not > overflow. In this case, the event being monitored is very rare > or the application being monitored has a very short execution > time. In either case, the overhead of the interrupt is probably > not a problem, and the user can either choose not to user in-kernel > buffering for that event or simply ignore the events as being rare and > insignificant.
I'm asking purely from a correctness point of view; if I set up a buffer with 10,000 entries, and 19,999 events occur, I don't see any way to get the second half of my events out of the kernel. This seems like a hole in the proposal. Cheers, - jonathan -- Jonathan Adams, Solaris Kernel Development _______________________________________________ perf-discuss mailing list perf-discuss@opensolaris.org