NXP-13072: fix automation trace when mode is not activated - refactor tracer structure