HomeFreeBSD

mac: reduce pessimization of sdt probe handling

Description

mac: reduce pessimization of sdt probe handling

Prior to the change the code would branch on return value and then check
if probes are enabled. Since vast majority of the time they are not, this
is clearly wasteful. Check probes first.

Sponsored by: The FreeBSD Foundation

Details

Provenance
mjgAuthored on
Parents
rS342246: MFC r341820:
Branches
Unknown
Tags
Unknown