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

Committed
mjgDec 19 2018, 10:30 PM
Parents
rS342246: MFC r341820:
Branches
Unknown
Tags
Unknown