This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Begin probes & irqs disabled?
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Mike Mason <mmlnx at us dot ibm dot com>
- Cc: "systemtap at sources dot redhat dot com" <systemtap at sources dot redhat dot com>
- Date: 14 Dec 2006 22:45:33 -0500
- Subject: Re: Begin probes & irqs disabled?
- References: <4581DC1E.4030402@us.ibm.com>
Mike Mason <mmlnx@us.ibm.com> writes:
> Do begin probes always run with irqs disabled?
Yes, the same way as all other probes.
> Is there any way to run code with irqs *enabled* in a systemtap
> script? I'm trying to use a function in embedded C that has the
> might_sleep() check.
We haven't explored all the possible implications of allowing probes
to sleep. It's clear that general kprobes must not be allowed to do
that. It's not clear whether to relax the others.
- FChE