tracer: use a macros for the enabled check