This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [TAPSETS] Linux Kernel Event Trace Tool
Hi -
On Sun, Dec 18, 2005 at 12:34:34PM -0500, Mathieu Desnoyers wrote:
> [...] If preemption is not disabled or interrupts disabled, you
> will have issues with _stp_printf. [...]
Looking in stp_printf for reentrancy prevention is a mistake. The
reentrancy treatment is supposed to be provided by the probe point
providers: kprobes or the other entry interfacing functions. (Not all
of them do the right thing yet.) The runtime functions callable from
probes should assume atomic calls: no reentrancy, no interrupts, and
so on.
- FChE