HomeFreeBSD

MFC r355412, r355420: Wrap g_trace() into a macro to avoid unneeded calls.

Description

MFC r355412, r355420: Wrap g_trace() into a macro to avoid unneeded calls.

In most cases with debug disabled this function does nothing, but argument
passing and the call still cost measurable time due to cache misses, etc.

While there, define G_F_FOOTSHOOTING instead of numeric constants.

Details

Provenance
mavAuthored on
Parents
rS355891: MFC r355410: Switch GEOM_DEV from make_dev_p() to make_dev_s().
Branches
Unknown
Tags
Unknown