freebsd-dev/sys/cddl/dev/dtmalloc
Mateusz Guzik 7cd794214a dtrace: depessimize dtmalloc when dtrace is active
Each malloc/free was testing dtrace_malloc_enabled and forcing
extra reads from the malloc type struct to see if perhaps a
dtmalloc probe was on.

Treat it like lockstat and sdt: have a global bolean.
2018-04-24 01:06:20 +00:00
..
dtmalloc.c dtrace: depessimize dtmalloc when dtrace is active 2018-04-24 01:06:20 +00:00