[dtrace-discuss] kernel pause/resume

Eric Schrock
Wed, 10 Aug 2005 23:36:20 -0000

On Wed, Aug 10, 2005 at 04:27:30PM -0700, Michael Bergknoff
wrote:
>
> I should have mentioned that I looked into chill but the manual said
> it''s not safe to chill for more than a few hundred milliseconds
due to
> issues with interrupts in the probed context. I''m looking at
starting
> one thread and pausing for minutes before resuming in another thread. As
> for stop() I believe that stops on the way out of the kernel which is
> not what I need.
>

Yes, stop() will stop the process on the way out of the kernel.  There
is no way to allow for the behavior you describe in arbitrary probe
context.  Your only bet here is probably a custom kernel.

- Eric

--
Eric Schrock, Solaris Kernel Development       http://blogs.sun.com/eschrock