[TAPSETS] Linux Kernel Event Trace Tool
Frank Ch. Eigler
fche@redhat.com
Sun Dec 18 20:04:00 GMT 2005
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
More information about the Systemtap
mailing list