[TAPSETS] Linux Kernel Event Trace Tool

Ananth N Mavinakayanahalli ananth@in.ibm.com
Wed Dec 21 06:28:00 GMT 2005


On Tue, Dec 20, 2005 at 08:45:21AM -0500, Frank Ch. Eigler wrote:
> 
> Mathieu Desnoyers <compudj@krystal.dyndns.org> writes:
 
...

> > > This will happend on systems where preemption is enabled if you do
> > > not disable preemption. [...]
> 
> (We do need to disable preemption during probe handler execution.)

If you are referring to kprobe handler execution, preemption is already
disabled in kernel as soon as we enter the kprobe infrastructure and
reenabled only after single-stepping. Systemtap doesn't have to disable
it again.

Ananth



More information about the Systemtap mailing list