HomeFreeBSD

Wrap g_trace() into a macro to avoid unneeded calls.

Description

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.

MFC after: 2 weeks
Sponsored by: iXsystems, Inc.

Details

Provenance
mavAuthored on
Parents
rS355411: Fix a trivial typo and add a missing word.
Branches
Unknown
Tags
Unknown