This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
disabled interrupts (Was bug #2293
hunt wrote:
> [...] You have now disabled interrupts, so the data [produced by end
> probes] fills the buffers but stpd cannot empty them.
How could stpd have emptied them before, in a reliable way? During an
"end" probe, or when? stpd can't run until the next timeslice; we
never cooperatively schedule out of a probe.
> So we have effectively limited systemtap output to whatever space is
> remaining in buffer when "probe end" is hit. [...]
A couple of possible solutions: Use bigger buffers; put a buffer aside
for end probes; get stpd to empty all the buffers early during the
STP_EXIT exchange and thus before "end" probes run.
- FChE