core: Protect the trace macros for fun and profit.