dtrace: depessimize dtmalloc when dtrace is activeEach malloc/free was testing dtrace_malloc_enabled and forcingextra reads from the malloc type struct to see if perhaps adtmalloc probe was on.
dtrace: depessimize dtmalloc when dtrace is activeEach malloc/free was testing dtrace_malloc_enabled and forcingextra reads from the malloc type struct to see if perhaps adtmalloc probe was on.Treat it like lockstat and sdt: have a global bolean.
show more ...
Use C99 initializers for DTrace provider methods.This makes the definitions easier to read and more cscope-friendly.MFC after: 1 week
The dtmalloc provider uses the short description of a malloc type as thefunction name of its corresponding DTrace probes. These descriptions maycontain whitespace, but probe names cannot, so just r
The dtmalloc provider uses the short description of a malloc type as thefunction name of its corresponding DTrace probes. These descriptions maycontain whitespace, but probe names cannot, so just replace any whitespacewith underscores when creating probes.MFC after: 1 week
Custom DTrace kernel module files plus FreeBSD-specific DTrace providers.