This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Why systemtap loses events and what can be done about it?
Hi -
On Tue, Sep 04, 2007 at 09:48:13AM -0700, Mike Mason wrote:
> I've been toying with the idea of optimizing probe handlers by
> implementing them like interrupt handlers, with top and bottom
> halves. [...]
This is unlikely to be faster overall, but is an interesting idea.
Putting blocking-capable constructs into a deferred-work handler could
be an explicit option, though wrought with risks. (Lack of
synchronization is one: a deferred get_user() value may not resemble
one possibly fetched at the instant of a raw probe point.)
- FChE