HomeFreeBSD

ktrace: Add __ktrace_used

Description

ktrace: Add __ktrace_used

This suppresses warnings about write-only variables when the KTRACE
option is disabled, akin diagused and witness_used.

MFC after: 1 week

(cherry picked from commit cce4979133ba540ca2dfd57631c6f91673b9bafd)

Details

Provenance
markjAuthored on Mar 9 2024, 5:08 AM
Parents
rG10f08c01deaa: ldconfig: remove ignored -v (verbose) option
Branches
Unknown
Tags
Unknown