This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/5194] IO problem on begin/end probes


------- Additional Comments From hunt at redhat dot com  2007-10-18 14:25 -------
OK, this is not something we normally run into.  It's easy to force the
situation by calling a sleeping function in a begin probe.  This is not
something we normally do, but we might, so we should handle it correctly or
prevent it.  

If the begin/end probe does sleep or get interrupted, it might not get the same
cpu when it resumes, which means  the output buffer will change without the
previous buffer getting flushed and data will be lost.

IIRC, one of the reasons we enabled preemption was to handle situations where
large arrays are dumped during end probes. If interrupts are disabled, stapio
cannot process the output while it is arriving and the module runs out of
relayfs buffers.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
           Priority|P1                          |P2


http://sourceware.org/bugzilla/show_bug.cgi?id=5194

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]