freebsd-dev/sys/cddl/contrib/opensolaris/uts/common/dtrace
Mark Johnston 427bc75e19 The fasttrap provider cleans up probes asynchronously when a process with
USDT probes exits. This was previously done with a callout; however, it is
possible to sleep while holding the DTrace mutexes, so a panic will occur
on INVARIANTS kernels if the callout handler can't immediately acquire one
of these mutexes. This panic will be frequently triggered on systems where
a USDT-enabled program (perl, for instance) is often run.

This revision changes the fasttrap cleanup mechanism so that a dedicated
thread is used instead of a callout. The old behaviour is otherwise
preserved.

Reviewed by:	rpaulo
MFC after:	1 month
2013-05-24 03:29:32 +00:00
..
dtrace.c Bring back part of r249367 by adding DTrace's temporal option, which allows 2013-05-12 16:26:33 +00:00
fasttrap.c The fasttrap provider cleans up probes asynchronously when a process with 2013-05-24 03:29:32 +00:00
lockstat.c
profile.c
sdt_subr.c
systrace.c